Merge pull request #10791 from k8s-infra-cherrypick-robot/cherry-pick-10317-to-release-1.9

[release-1.9] fix(labels): use complete labels variable on default-backend deployment
This commit is contained in:
James Strong 2023-12-21 09:59:32 +01:00 committed by GitHub
commit 0a2c4c8ad3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ spec:
annotations: {{ toYaml .Values.defaultBackend.podAnnotations | nindent 8 }}
{{- end }}
labels:
{{- include "ingress-nginx.selectorLabels" . | nindent 8 }}
{{- include "ingress-nginx.labels" . | nindent 8 }}
app.kubernetes.io/component: default-backend
{{- with .Values.defaultBackend.labels }}
{{- toYaml . | nindent 8 }}