Skip to content

Commit c37f22b

Browse files
authored
feat(helm): add labels for coder pod (#7139)
* feat(helm): add labels for coder pod * feedback & syntax fix * ordering * fix: notation
1 parent 7063267 commit c37f22b

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

helm/templates/coder.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ spec:
2727
metadata:
2828
labels:
2929
{{- include "coder.labels" . | nindent 8 }}
30+
{{- with .Values.coder.podLabels }}
31+
{{- toYaml . | nindent 8 }}
32+
{{- end }}
3033
annotations:
3134
{{- toYaml .Values.coder.podAnnotations | nindent 8 }}
3235
spec:

helm/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ coder:
4242
# https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
4343
podAnnotations: {}
4444

45+
# coder.podLabels -- The Coder pod labels. See:
46+
# https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
47+
podLabels: {}
48+
4549
# coder.serviceAccount -- Configuration for the automatically created service
4650
# account. Creation of the service account cannot be disabled.
4751
serviceAccount:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy