Skip to content

Commit 915aff3

Browse files
authored
add commonLabels to replicasets (#2877)
Signed-off-by: Isa Inalcik <isa.inalcik@gmail.com>
1 parent 88cc969 commit 915aff3

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

chart/templates/marquez/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ spec:
2222
template:
2323
metadata:
2424
labels: {{- include "common.labels.standard" . | nindent 8 }}
25+
{{- if .Values.commonLabels }}
26+
{{- include "common.tplvalues.render" (dict "value" .Values.commonLabels "context" $) | nindent 8 }}
27+
{{- end }}
2528
app.kubernetes.io/component: marquez
2629
spec:
2730
{{- if .Values.marquez.serviceAccount }}

chart/templates/web/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ spec:
1919
template:
2020
metadata:
2121
labels: {{- include "common.labels.standard" . | nindent 8 }}
22+
{{- if .Values.commonLabels }}
23+
{{- include "common.tplvalues.render" (dict "value" .Values.commonLabels "context" $) | nindent 8 }}
24+
{{- end }}
2225
app.kubernetes.io/component: web
2326
spec:
2427
containers:

0 commit comments

Comments
 (0)