diff --git a/pkg/app/dbs/tmpl/minio/dep.tpl b/pkg/app/dbs/tmpl/minio/dep.tpl index 1bbd0979..77b00674 100644 --- a/pkg/app/dbs/tmpl/minio/dep.tpl +++ b/pkg/app/dbs/tmpl/minio/dep.tpl @@ -17,6 +17,10 @@ metadata: {{$k}}: "{{$v}}" {{- end }} spec: + {{- if ne .Spec.Dbs.Minio.UpdateStrategy "RollingUpdate" }} + strategy: + type: Recreate + {{- end }} selector: matchLabels: app: {{ .Spec.Dbs.Minio.SvcName }}