diff --git a/infrastructure/helm-chart/charts/ingress-controller/templates/ingress-controller.yaml b/infrastructure/helm-chart/charts/ingress-controller/templates/ingress-controller.yaml index 6f99e09899..34a4cb35db 100644 --- a/infrastructure/helm-chart/charts/ingress-controller/templates/ingress-controller.yaml +++ b/infrastructure/helm-chart/charts/ingress-controller/templates/ingress-controller.yaml @@ -1,4 +1,3 @@ -{{ if index .Values "ingress-controller.enabled" }} apiVersion: v1 kind: ConfigMap metadata: @@ -259,4 +258,3 @@ spec: securityContext: runAsNonRoot: true runAsUser: 2000 -{{ end }} diff --git a/infrastructure/helm-chart/charts/ingress-controller/templates/service.yaml b/infrastructure/helm-chart/charts/ingress-controller/templates/service.yaml index 6c5134b5d4..21f89b99e8 100644 --- a/infrastructure/helm-chart/charts/ingress-controller/templates/service.yaml +++ b/infrastructure/helm-chart/charts/ingress-controller/templates/service.yaml @@ -1,4 +1,3 @@ -{{ if index .Values "ingress-controller.enabled" }} apiVersion: v1 kind: Service metadata: @@ -103,4 +102,3 @@ spec: app.kubernetes.io/instance: ingress-nginx app.kubernetes.io/component: controller {{ end }} -{{ end }} \ No newline at end of file diff --git a/infrastructure/helm-chart/charts/ingress-controller/templates/serviceaccount.yaml b/infrastructure/helm-chart/charts/ingress-controller/templates/serviceaccount.yaml index ceb11258e8..416d6efb71 100644 --- a/infrastructure/helm-chart/charts/ingress-controller/templates/serviceaccount.yaml +++ b/infrastructure/helm-chart/charts/ingress-controller/templates/serviceaccount.yaml @@ -1,4 +1,3 @@ -{{ if index .Values "ingress-controller.enabled" }} apiVersion: v1 kind: ServiceAccount metadata: @@ -281,4 +280,3 @@ subjects: - kind: ServiceAccount name: ingress-nginx-admission namespace: {{ .Values.namespace }} -{{ end }} \ No newline at end of file