mirror of
https://github.com/bitnami/charts.git
synced 2026-03-15 06:47:24 +08:00
fix: disable replicas when autoscaling enabled (#9473)
Signed-off-by: Jakub Oskera <iam@jakuboskera.dev>
This commit is contained in:
@@ -25,4 +25,4 @@ name: nginx
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-nginx
|
||||
- https://www.nginx.org
|
||||
version: 9.9.4
|
||||
version: 9.9.5
|
||||
|
||||
@@ -10,7 +10,9 @@ metadata:
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if not .Values.autoscaling.enabled }}
|
||||
replicas: {{ .Values.replicaCount }}
|
||||
{{- end }}
|
||||
{{- if .Values.updateStrategy }}
|
||||
strategy: {{- toYaml .Values.updateStrategy | nindent 4 }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user