File tree Expand file tree Collapse file tree 4 files changed +12
-1
lines changed Expand file tree Collapse file tree 4 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -311,6 +311,7 @@ Composer
311311* podSelectorLabel: Enable composer only if pod has label matching the specified selector. (Default "" matches all pods)
312312
313313Daemonset
314+ * podAnnotations: Annotations to be added to core-dump-handler pods (Default nil)
314315* hostDirectory: Maps to the HOST_DIR environment variable (Default "/var/mnt/core-dump-handler")
315316* coreDirectory: Maps to the CORE_DIR environment variable (Default "/var/mnt/core-dump-handler/cores")
316317* eventDirectory: Maps to the EVENT_DIR environment variable (Default "/var/mnt/core-dump-handler/events")
Original file line number Diff line number Diff line change 1616 name : {{ .Values.daemonset.label }}
1717 annotations :
1818 kubectl.kubernetes.io/default-container : " coredump-container"
19+ {{- with .Values.daemonset.podAnnotations }}
20+ {{- toYaml . | nindent 8 }}
21+ {{- end }}
1922 spec :
2023 {{- with .Values.image.pullSecrets }}
2124 imagePullSecrets :
Original file line number Diff line number Diff line change 209209 "label" : {
210210 "type" : " string"
211211 },
212+ "podAnnotations" : {
213+ "type" : " object" ,
214+ "additionalProperties" : {
215+ "type" : " string"
216+ }
217+ },
212218 "hostDirectory" : {
213219 "type" : " string"
214220 },
346352 "title" : " ServiceAccount"
347353 }
348354 }
349- }
355+ }
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ composer:
3434 coreEvents : false
3535
3636daemonset :
37+ podAnnotations : {}
3738 name : " core-dump-handler"
3839 label : " core-dump-ds"
3940 hostDirectory : " /var/mnt/core-dump-handler"
You can’t perform that action at this time.
0 commit comments