diff options
Diffstat (limited to 'roles/kubernetes/addons/ingress-nginx/templates/kustomization.deployment-with-nodeport.yml.j2')
-rw-r--r-- | roles/kubernetes/addons/ingress-nginx/templates/kustomization.deployment-with-nodeport.yml.j2 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/roles/kubernetes/addons/ingress-nginx/templates/kustomization.deployment-with-nodeport.yml.j2 b/roles/kubernetes/addons/ingress-nginx/templates/kustomization.deployment-with-nodeport.yml.j2 new file mode 100644 index 00000000..f2b5591d --- /dev/null +++ b/roles/kubernetes/addons/ingress-nginx/templates/kustomization.deployment-with-nodeport.yml.j2 @@ -0,0 +1,16 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +resources: + - upstream.yml + +patches: + - target: + kind: Deployment + namespace: ingress-nginx + name: ingress-nginx-controller + patch: |- + - op: replace + path: /spec/template/spec/nodeSelector + value: + {{ kubernetes_ingress_nginx_node_selector | to_nice_yaml(indent=2) | indent(10) }} |