mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
fix(helm): missing templating for deployment labels (#6869)
Co-authored-by: Dean Sheather <dean@deansheather.com>
This commit is contained in:
@ -7,7 +7,6 @@ metadata:
|
|||||||
annotations: {{ toYaml .Values.coder.serviceAccount.annotations | nindent 4 }}
|
annotations: {{ toYaml .Values.coder.serviceAccount.annotations | nindent 4 }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "coder.labels" . | nindent 4 }}
|
{{- include "coder.labels" . | nindent 4 }}
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
@ -15,6 +14,9 @@ metadata:
|
|||||||
name: coder
|
name: coder
|
||||||
labels:
|
labels:
|
||||||
{{- include "coder.labels" . | nindent 4 }}
|
{{- include "coder.labels" . | nindent 4 }}
|
||||||
|
{{- with .Values.coder.labels }}
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
annotations: {{ toYaml .Values.coder.annotations | nindent 4}}
|
annotations: {{ toYaml .Values.coder.annotations | nindent 4}}
|
||||||
spec:
|
spec:
|
||||||
replicas: {{ .Values.coder.replicaCount }}
|
replicas: {{ .Values.coder.replicaCount }}
|
||||||
|
@ -34,14 +34,14 @@ coder:
|
|||||||
# https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
# https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
||||||
annotations: {}
|
annotations: {}
|
||||||
|
|
||||||
# coder.podAnnotations -- The Coder pod annotations. See:
|
|
||||||
# https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
|
||||||
podAnnotations: {}
|
|
||||||
|
|
||||||
# coder.labels -- The Deployment labels. See:
|
# coder.labels -- The Deployment labels. See:
|
||||||
# https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
|
# https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
|
||||||
labels: {}
|
labels: {}
|
||||||
|
|
||||||
|
# coder.podAnnotations -- The Coder pod annotations. See:
|
||||||
|
# https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
||||||
|
podAnnotations: {}
|
||||||
|
|
||||||
# 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