Skip to content

Commit d2fb0c0

Browse files
committed
add common labels to replicasets
Signed-off-by: <alaturqua@users.noreply.github.com>
1 parent 75ced38 commit d2fb0c0

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)