netflux-kubernetes/deploy/prod/deploy-ingress-nginx.yaml

14 lines
525 B
YAML

---
- op: replace
path: /spec/template/spec/containers/0/args/1
value: "--publish-service=$(POD_NAMESPACE)/prod-ingress-nginx-controller"
- op: replace
path: /spec/template/spec/containers/0/args/5
value: "--configmap=$(POD_NAMESPACE)/prod-ingress-nginx-controller"
- op: add
path: /spec/template/spec/containers/0/args/-
value: "--tcp-services-configmap=$(POD_NAMESPACE)/prod-ingress-nginx-tcp-services"
- op: replace
path: /spec/template/spec/volumes/0/secret/secretName
value: prod-ingress-nginx-admission