Skip to content

Commit c6ceb37

Browse files
committed
fixup! Merge branch 'main' into fix-labels
1 parent 1bd5965 commit c6ceb37

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

helm/templates/coder.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ metadata:
1414
name: coder
1515
labels:
1616
{{- include "coder.labels" . | nindent 4 }}
17-
{{- toYaml .Values.coder.labels | nindent 4 }}
17+
{{- with .Values.coder.labels }}
18+
{{- toYaml . | nindent 4 }}
19+
{{- end }}
1820
annotations: {{ toYaml .Values.coder.annotations | nindent 4}}
1921
spec:
2022
replicas: {{ .Values.coder.replicaCount }}

helm/tests/testdata/default_values.golden

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ metadata:
7979
app.kubernetes.io/part-of: coder
8080
app.kubernetes.io/version: "0.1.0"
8181
app.kubernetes.io/managed-by: Helm
82-
eric: paulsen
8382
annotations:
8483
{}
8584
spec:

helm/tests/testdata/tls.golden

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ metadata:
8383
app.kubernetes.io/part-of: coder
8484
app.kubernetes.io/version: "0.1.0"
8585
app.kubernetes.io/managed-by: Helm
86-
eric: paulsen
8786
annotations:
8887
{}
8988
spec:

helm/values.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ coder:
1313
# if not set. If you're using the chart directly from git, the default
1414
# app version will not work and you'll need to set this value. The helm
1515
# chart helpfully fails quickly in this case.
16-
tag: "latest"
16+
tag: ""
1717
# coder.image.pullPolicy -- The pull policy to use for the image. See:
1818
# https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy
1919
pullPolicy: IfNotPresent
@@ -34,14 +34,14 @@ coder:
3434
# https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
3535
annotations: {}
3636

37-
# coder.podAnnotations -- The Coder pod annotations. See:
38-
# https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
39-
podAnnotations: {}
40-
4137
# coder.labels -- The Deployment labels. See:
4238
# https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
4339
labels: {}
4440

41+
# coder.podAnnotations -- The Coder pod annotations. See:
42+
# https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
43+
podAnnotations: {}
44+
4545
# coder.serviceAccount -- Configuration for the automatically created service
4646
# account. Creation of the service account cannot be disabled.
4747
serviceAccount:

0 commit comments

Comments
 (0)