diff --git a/charts/nginx-ingress/templates/controller-lease.yaml b/charts/nginx-ingress/templates/controller-lease.yaml index 960f61cea..6a761acb5 100644 --- a/charts/nginx-ingress/templates/controller-lease.yaml +++ b/charts/nginx-ingress/templates/controller-lease.yaml @@ -7,7 +7,7 @@ metadata: labels: {{- include "nginx-ingress.labels" . | nindent 4 }} {{- if .Values.controller.reportIngressStatus.annotations }} - annotations + annotations: {{ toYaml .Values.controller.reportIngressStatus.annotations | indent 4 }} {{- end }} {{- end }} diff --git a/charts/nginx-ingress/values.yaml b/charts/nginx-ingress/values.yaml index 09f89f295..e36c74333 100644 --- a/charts/nginx-ingress/values.yaml +++ b/charts/nginx-ingress/values.yaml @@ -535,7 +535,7 @@ controller: ## The default is autogenerated. leaderElectionLockName: "" - ## The annotations of the leader election configmap. + ## The annotations of the leader election Lease. annotations: {} pod: