diff --git a/helm/templates/coder.yaml b/helm/templates/coder.yaml index 6e5874f753..c7edc9a9c1 100644 --- a/helm/templates/coder.yaml +++ b/helm/templates/coder.yaml @@ -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: diff --git a/helm/values.yaml b/helm/values.yaml index 1d40168e0e..7fce83add8 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -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: