diff --git a/chart/templates/hook-upgrade-crds.yaml b/chart/templates/hook-upgrade-crds.yaml index 3f5b3b13..75307fd7 100644 --- a/chart/templates/hook-upgrade-crds.yaml +++ b/chart/templates/hook-upgrade-crds.yaml @@ -85,6 +85,10 @@ spec: template: metadata: name: {{ printf "%s-%s" "upgrade-crds" (include "vso.chart.fullname" .) | trunc 63 | trimSuffix "-" }} + labels: + {{- if .Values.controller.extraLabels }} + {{- toYaml .Values.controller.extraLabels | nindent 8 }} + {{- end }} spec: serviceAccountName: {{ template "vso.chart.fullname" . }}-upgrade-crds securityContext: