diff --git a/charts/ocean-network-client/templates/daemon_set.yaml b/charts/ocean-network-client/templates/daemon_set.yaml index fa73dd8..9df3001 100644 --- a/charts/ocean-network-client/templates/daemon_set.yaml +++ b/charts/ocean-network-client/templates/daemon_set.yaml @@ -7,6 +7,10 @@ spec: selector: matchLabels: {{- include "ocean-network-client.daemon-set.labels" . | nindent 6 }} + {{- with .Values.updateStrategy }} + updateStrategy: + {{- toYaml . | nindent 4 }} + {{- end }} template: metadata: labels: diff --git a/charts/ocean-network-client/values.yaml b/charts/ocean-network-client/values.yaml index 177637b..c2d1405 100644 --- a/charts/ocean-network-client/values.yaml +++ b/charts/ocean-network-client/values.yaml @@ -30,3 +30,8 @@ resources: # Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/ tolerations: - operator: "Exists" + +updateStrategy: {} +# type: RollingUpdate +# rollingUpdate: +# maxUnavailable: 1