diff --git a/charts/provider/templates/statefulset.yaml b/charts/provider/templates/statefulset.yaml index cd7e091..3657c5c 100644 --- a/charts/provider/templates/statefulset.yaml +++ b/charts/provider/templates/statefulset.yaml @@ -13,6 +13,9 @@ metadata: {{- end }} spec: replicas: {{ $.Values.replicaCount }} + updateStrategy: + type: {{ $.Values.updateStrategy }} + podManagementPolicy: {{ .Values.podManagementPolicy }} selector: matchLabels: {{- include "provider.selectorLabels" $ | nindent 6 }} diff --git a/charts/provider/values.yaml b/charts/provider/values.yaml index 2f578ae..8890107 100644 --- a/charts/provider/values.yaml +++ b/charts/provider/values.yaml @@ -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: ""