mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
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:
@ -27,6 +27,9 @@ spec:
|
|||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
{{- include "coder.labels" . | nindent 8 }}
|
{{- include "coder.labels" . | nindent 8 }}
|
||||||
|
{{- with .Values.coder.podLabels }}
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- toYaml .Values.coder.podAnnotations | nindent 8 }}
|
{{- toYaml .Values.coder.podAnnotations | nindent 8 }}
|
||||||
spec:
|
spec:
|
||||||
|
@ -42,6 +42,10 @@ coder:
|
|||||||
# https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
# https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
||||||
podAnnotations: {}
|
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
|
# coder.serviceAccount -- Configuration for the automatically created service
|
||||||
# account. Creation of the service account cannot be disabled.
|
# account. Creation of the service account cannot be disabled.
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
|
Reference in New Issue
Block a user