diff --git a/helm/aws-load-balancer-controller/templates/webhook.yaml b/helm/aws-load-balancer-controller/templates/webhook.yaml index a7fb03b45..49bc1e9d5 100644 --- a/helm/aws-load-balancer-controller/templates/webhook.yaml +++ b/helm/aws-load-balancer-controller/templates/webhook.yaml @@ -80,10 +80,10 @@ webhooks: {{ end }} objectSelector: matchExpressions: - - key: app.kubernetes.io/name - operator: NotIn - values: - - {{ include "aws-load-balancer-controller.name" . }} + - key: app.kubernetes.io/name + operator: NotIn + values: + - {{ include "aws-load-balancer-controller.name" . }} {{- if .Values.objectSelector.matchExpressions }} {{- toYaml .Values.objectSelector.matchExpressions | nindent 4 }} {{- end }} diff --git a/helm/aws-load-balancer-controller/test.yaml b/helm/aws-load-balancer-controller/test.yaml index a4305179a..53cc84018 100644 --- a/helm/aws-load-balancer-controller/test.yaml +++ b/helm/aws-load-balancer-controller/test.yaml @@ -356,4 +356,4 @@ serviceMutatorWebhookConfig: podMutatorWebhookConfig: # whether or not to fail the pod creation if the webhook fails - failurePolicy: Ignore \ No newline at end of file + failurePolicy: Ignore