mirror of
https://github.com/coder/code-server.git
synced 2026-05-24 05:07:25 +02:00
feat(charts): make replicaCount optional (#7744)
This commit is contained in:
@@ -8,7 +8,9 @@ metadata:
|
|||||||
annotations: {{- toYaml .Values.annotations | nindent 4 }}
|
annotations: {{- toYaml .Values.annotations | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
replicas: {{ .Values.replicaCount | default 1 }}
|
{{- if ne .Values.replicaCount nil }}
|
||||||
|
replicas: {{ .Values.replicaCount }}
|
||||||
|
{{- end }}
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
selector:
|
selector:
|
||||||
|
|||||||
Reference in New Issue
Block a user