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