summaryrefslogtreecommitdiff
path: root/roles/kubernetes/addons/ingress-nginx/templates/kustomization.deployment-with-nodeport.yml.j2
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2023-03-11 23:14:56 +0100
committerChristian Pointner <equinox@spreadspace.org>2023-03-11 23:14:56 +0100
commit863837f090f55928a9555d831bf523fb635d2dbe (patch)
tree50a7e14ab646a9fc1bff3908855d52e9cec9eaf9 /roles/kubernetes/addons/ingress-nginx/templates/kustomization.deployment-with-nodeport.yml.j2
parentapps/mumble: switch to new official mumble container images (diff)
kubernetes/addons: add ingress-nginx
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.j216
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) }}