rancher-charts/packages/nginx-ingress/nginx-ingress.patch

31 lines
1.4 KiB
Diff

diff -x '*.tgz' -x '*.lock' -uNr packages/nginx-ingress/charts-original/values.yaml packages/nginx-ingress/charts/values.yaml
--- packages/nginx-ingress/charts-original/values.yaml
+++ packages/nginx-ingress/charts/values.yaml
@@ -37,7 +37,7 @@
# Required for use with CNI based kubernetes installations (such as ones set up by kubeadm),
# since CNI and hostport don't mix yet. Can be deprecated once https://github.com/kubernetes/kubernetes/issues/23920
# is merged
- hostNetwork: false
+ hostNetwork: true
# Optionally customize the pod dnsConfig.
dnsConfig: {}
@@ -45,7 +45,7 @@
# Optionally change this to ClusterFirstWithHostNet in case you have 'hostNetwork: true'.
# By default, while using host network, name resolution uses the host's DNS. If you wish nginx-controller
# to keep resolving names inside the k8s network, use ClusterFirstWithHostNet.
- dnsPolicy: ClusterFirst
+ dnsPolicy: ClusterFirstWithHostNet
# Bare-metal considerations via the host network https://kubernetes.github.io/ingress-nginx/deploy/baremetal/#via-the-host-network
# Ingress status was blank because there is no Service exposing the NGINX Ingress controller in a configuration using the host network, the default --publish-service flag used in standard cloud setups does not apply
@@ -242,7 +242,7 @@
configMapKey: ""
service:
- enabled: true
+ enabled: false
annotations: {}
labels: {}