fix(argo-cd): Add missing templating for some service labels (#1489)

This commit is contained in:
Laurent Lavaud 2022-09-25 19:02:42 +02:00 committed by GitHub
parent fd0f2c92e1
commit 9b3a65e239
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 2 deletions

View file

@ -10,6 +10,9 @@ metadata:
name: {{ template "argo-cd.controller.fullname" . }}
labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
{{- with .Values.controller.service.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
ports:
- name: {{ .Values.controller.service.portName }}