feat(helm): add labels for coder pod (#7139)

* feat(helm): add labels for coder pod

* feedback & syntax fix

* ordering

* fix: notation
This commit is contained in:
Eric Paulsen 2023-04-14 14:55:38 -04:00 committed by GitHub
parent 706326715d
commit c37f22ba78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -27,6 +27,9 @@ spec:
metadata:
labels:
{{- include "coder.labels" . | nindent 8 }}
{{- with .Values.coder.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
annotations:
{{- toYaml .Values.coder.podAnnotations | nindent 8 }}
spec:

View File

@ -42,6 +42,10 @@ coder:
# https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
podAnnotations: {}
# coder.podLabels -- The Coder pod labels. See:
# https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
podLabels: {}
# coder.serviceAccount -- Configuration for the automatically created service
# account. Creation of the service account cannot be disabled.
serviceAccount: