Skip to content

Commit c6b647d

Browse files
feat(helm chart): refactor labels and add logging labels
Signed-off-by: Abhinandan Purkait <[email protected]>
1 parent ddc0c6b commit c6b647d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

deploy/helm/charts/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ spec:
3232
{{- with .Values.localpv.podLabels }}
3333
{{- toYaml . | nindent 8 }}
3434
{{- end }}
35+
{{- with .Values.loggingLabels}}
36+
{{ toYaml . | nindent 8 -}}
37+
{{- end}}
3538
spec:
3639
{{- if .Values.localpv.priorityClassName }}
3740
priorityClassName: {{ tpl .Values.localpv.priorityClassName . }}

deploy/helm/charts/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ helperPod:
136136
# Additional labels to add to all chart resources
137137
extraLabels: {}
138138

139+
loggingLabels:
140+
openebs.io/logging: "true"
141+
139142
analytics:
140143
enabled: true
141144
# Specify in hours the duration after which a ping event needs to be sent.

0 commit comments

Comments
 (0)