commit | 4142078d0b51a28a42c382712645ee2f4f45d36b | [log] [tgz] |
---|---|---|
author | Stanislav Riazanov <sriazanov@mirantis.com> | Mon Mar 04 15:23:04 2019 +0400 |
committer | Stanislav Riazanov <sriazanov@mirantis.com> | Mon Mar 04 15:25:01 2019 +0400 |
tree | 08c8772705775cf94018ae5f2fa6469403acd05b | |
parent | d8cd76616214f62bdcb06bca288efdcd5416e92c [diff] |
Unhardcode externalTrafficPolicy nginx ingress parameter Change-Id: Ieddbb528c83d67747856f162db1088463b51c53b Related-prod: #PROD-27353 (PROD:27353)
diff --git a/kubernetes/files/kube-addons/ingress-nginx/ingress-nginx.yaml b/kubernetes/files/kube-addons/ingress-nginx/ingress-nginx.yaml index cfd5251..7e28da8 100644 --- a/kubernetes/files/kube-addons/ingress-nginx/ingress-nginx.yaml +++ b/kubernetes/files/kube-addons/ingress-nginx/ingress-nginx.yaml
@@ -376,7 +376,7 @@ app.kubernetes.io/part-of: ingress-nginx addonmanager.kubernetes.io/mode: Reconcile spec: - externalTrafficPolicy: Local + externalTrafficPolicy: {{ common.addons.get('ingress-nginx', {}).get('externalTrafficPolicy', 'Local') }} type: LoadBalancer selector: app.kubernetes.io/name: ingress-nginx