NGINX Ingress Controller - Fix podAnnotations for default backend (#6446)

This commit is contained in:
Juan Ariza Toledano
2021-05-24 15:10:49 +02:00
committed by GitHub
parent ca26a331f2
commit bc125145f6
2 changed files with 2 additions and 2 deletions

View File

@@ -26,4 +26,4 @@ name: nginx-ingress-controller
sources:
- https://github.com/bitnami/bitnami-docker-nginx-ingress-controller
- https://github.com/kubernetes/ingress-nginx
version: 7.6.8
version: 7.6.9

View File

@@ -20,7 +20,7 @@ spec:
template:
metadata:
{{- if .Values.defaultBackend.podAnnotations }}
annotations: {{- include "nginx-ingress-controller.annotations" (dict "annotations" .Values.defaultBackend.podAnnotations "context" $) | trim | nindent 8 }}
annotations: {{- include "common.tplvalues.render" (dict "value" .Values.defaultBackend.podAnnotations "context" $) | nindent 8 }}
{{- end }}
labels: {{- include "common.labels.standard" . | nindent 8 }}
app.kubernetes.io/component: default-backend