fix(helm): missing templating for deployment labels (#6869)

Co-authored-by: Dean Sheather <dean@deansheather.com>
This commit is contained in:
Eric Paulsen
2023-04-06 17:03:21 +10:00
committed by GitHub
co-authored by Dean Sheather
parent a32951c46a
commit 2da0702009
2 changed files with 7 additions and 5 deletions
+3 -1
View File
@@ -7,7 +7,6 @@ metadata:
annotations: {{ toYaml .Values.coder.serviceAccount.annotations | nindent 4 }}
labels:
{{- include "coder.labels" . | nindent 4 }}
---
apiVersion: apps/v1
kind: Deployment
@@ -15,6 +14,9 @@ metadata:
name: coder
labels:
{{- include "coder.labels" . | nindent 4 }}
{{- with .Values.coder.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
annotations: {{ toYaml .Values.coder.annotations | nindent 4}}
spec:
replicas: {{ .Values.coder.replicaCount }}