summaryrefslogtreecommitdiff
path: root/roles/kubernetes/addons/ingress-nginx/templates/kustomization.deployment-with-nodeport.yml.j2
blob: f2b5591dae2f062b2cc6b4b4866c86f2d23fda11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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) }}