Skip to content

Commit

Permalink
updateStrategy
Browse files Browse the repository at this point in the history
  • Loading branch information
amitza committed Aug 25, 2024
1 parent d3120f2 commit b7cae11
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
3 changes: 3 additions & 0 deletions charts/provider/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ metadata:
{{- end }}
spec:
replicas: {{ $.Values.replicaCount }}
updateStrategy:
type: {{ $.Values.updateStrategy }}
podManagementPolicy: {{ .Values.podManagementPolicy }}
selector:
matchLabels:
{{- include "provider.selectorLabels" $ | nindent 6 }}
Expand Down
11 changes: 8 additions & 3 deletions charts/provider/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,17 @@ nameOverride: ""
# -- String to fully override `"provider.fullname"`
fullnameOverride: ""

# -- Update strategy for StatefulSets
updateStrategy: "RollingUpdate"
# -- Pod Management Policy for StatefulSets
podManagementPolicy: "Parallel"

serviceAccount:
# -- specifies whether a service account should be created
# -- Specifies whether a service account should be created
create: true
# -- annotations to add to the service account
# -- Annotations to add to the service account
annotations: {}
# -- the name of the service account to use.
# -- The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""

Expand Down

0 comments on commit b7cae11

Please sign in to comment.