diff --git a/charts/s3-proxy/Chart.yaml b/charts/s3-proxy/Chart.yaml index c6f370c..81712c0 100755 --- a/charts/s3-proxy/Chart.yaml +++ b/charts/s3-proxy/Chart.yaml @@ -18,4 +18,4 @@ maintainers: name: s3-proxy sources: - https://github.com/oxyno-zeta/s3-proxy -version: 2.2.1 +version: 2.3.0 diff --git a/charts/s3-proxy/templates/deployment.yaml b/charts/s3-proxy/templates/deployment.yaml index 4985ba4..5cd5d60 100755 --- a/charts/s3-proxy/templates/deployment.yaml +++ b/charts/s3-proxy/templates/deployment.yaml @@ -13,6 +13,10 @@ spec: matchLabels: app.kubernetes.io/name: {{ include "s3-proxy.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} + {{- with .Values.deploymentStrategy }} + strategy: + {{- toYaml . | nindent 4 }} + {{- end }} template: metadata: annotations: diff --git a/charts/s3-proxy/values.yaml b/charts/s3-proxy/values.yaml index 22670c4..7d23c99 100755 --- a/charts/s3-proxy/values.yaml +++ b/charts/s3-proxy/values.yaml @@ -369,3 +369,9 @@ podDisruptionBudget: enabled: false minAvailable: 1 maxUnavailable: + +deploymentStrategy: {} + # type: RollingUpdate + # rollingUpdate: + # maxSurge: 1 + # maxUnavailable: 0