Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions charts/core-dump-handler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,3 +325,4 @@ Daemonset
* extraEnvVars: Option for passing additional configuration to the agent such as endpoint properties.
* envFrom: Array of [EnvFromSource](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#envfromsource-v1-core) to inject into main container.
* sidecarContainers: Array of [Container](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#container-v1-core) to define as part of the pod.
* updateStrategy: [DaemonsetUpdateStrategy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#daemonsetupdatestrategy-v1-apps) is a struct used to control the update strategy for the DaemonSet.
4 changes: 4 additions & 0 deletions charts/core-dump-handler/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ spec:
selector:
matchLabels:
name: {{ .Values.daemonset.label }}
{{- with .Values.daemonset.updateStrategy }}
updateStrategy:
{{- toYaml . | trim | nindent 4 }}
{{- end }}
template:
metadata:
labels:
Expand Down
4 changes: 4 additions & 0 deletions charts/core-dump-handler/values.minikube.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ composer:
logLevel: "Debug"
coreEvents: true
daemonset:
updateStrategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 1
mountContainerRuntimeEndpoint: true
hostContainerRuntimeEndpoint: "/var/run/cri-dockerd.sock"
crioEndpoint: "unix:///var/run/cri-dockerd.sock"
Expand Down
3 changes: 3 additions & 0 deletions charts/core-dump-handler/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,9 @@
},
"sidecarContainers": {
"type": "array"
},
"updateStrategy": {
"type": "object"
}
},
"required": [
Expand Down
1 change: 1 addition & 0 deletions charts/core-dump-handler/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ daemonset:
extraEnvVars: ""
envFrom: []
sidecarContainers: []
updateStrategy: {}

serviceAccount:
create: true
Expand Down