feat(helm-chart): support scale to 0 in standalone mode (#2797)
Signed-off-by: Duru Can Celasun <[email protected]> Co-authored-by: 安正超 <[email protected]> Co-authored-by: cxymds <[email protected]>
This commit is contained in:
co-authored by
安正超
cxymds
parent
50ddec3ffc
commit
718bec7722
@@ -12,7 +12,7 @@ metadata:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
replicas: 1
|
||||
replicas: {{ min 1 .Values.replicaCount }}
|
||||
{{- with .Values.mode.standalone.strategy }}
|
||||
{{- $type := default "RollingUpdate" .type }}
|
||||
strategy:
|
||||
|
||||
Reference in New Issue
Block a user