Add patch command to append publish-service flag

This commit is contained in:
Manuel de Brito Fontes 2017-11-13 00:07:07 -03:00
parent 870ee35137
commit 1ef283fe76
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1 @@
[{'op': 'replace', 'path': '/spec/template/spec/containers/0/args', 'value':['/nginx-ingress-controller','--default-backend-service=$(POD_NAMESPACE)/default-http-backend','--configmap=$(POD_NAMESPACE)/nginx-configuration','--tcp-services-configmap=$(POD_NAMESPACE)/tcp-services','--udp-services-configmap=$(POD_NAMESPACE)/udp-services','--publish-service=$(POD_NAMESPACE)/ingress-nginx']}]