diff --git a/base/nginx/kustomization.yaml b/base/nginx/kustomization.yaml index 2fe4bf2..80d26e3 100644 --- a/base/nginx/kustomization.yaml +++ b/base/nginx/kustomization.yaml @@ -1,2 +1,5 @@ resources: - - https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.4.0/deploy/static/provider/cloud/deploy.yaml \ No newline at end of file + - https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.4.0/deploy/static/provider/cloud/deploy.yaml + +patches: +- path: patches/ingress-nginx-cm.yaml diff --git a/base/nginx/patches/ingress-nginx-cm.yaml b/base/nginx/patches/ingress-nginx-cm.yaml new file mode 100644 index 0000000..034bfdd --- /dev/null +++ b/base/nginx/patches/ingress-nginx-cm.yaml @@ -0,0 +1,13 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: ingress-nginx-controller + namespace: ingress-nginx + labels: + app.kubernetes.io/component: controller + app.kubernetes.io/instance: ingress-nginx + app.kubernetes.io/name: ingress-nginx + app.kubernetes.io/part-of: ingress-nginx + app.kubernetes.io/version: 1.4.0 +data: + allow-snippet-annotations: "true"