Skip to content

Commit b71ad09

Browse files
authored
feat(helm): add podAnnotations and podLabels (linode#396)
1 parent 56b28b1 commit b71ad09

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

deploy/chart/templates/daemonset.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ spec:
1717
metadata:
1818
labels:
1919
app: ccm-linode
20+
{{- with .Values.podLabels }}
21+
{{- toYaml . | nindent 8 }}
22+
{{- end }}
23+
{{- with .Values.podAnnotations }}
24+
annotations:
25+
{{- toYaml . | nindent 8 }}
26+
{{- end }}
2027
spec:
2128
{{- if ne .Values.rbacEnabled false }}
2229
serviceAccountName: ccm-linode

deploy/chart/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,10 @@ volumeMounts:
121121
# - mountPath: /tmp/
122122
# name: test-volume
123123

124+
# Add podAnnotations and podLabels for customization
125+
podAnnotations: {}
126+
podLabels: {}
127+
124128
resources:
125129
# requests:
126130
# memory: "100Mi"

0 commit comments

Comments
 (0)