File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed
Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: app
33description : Generic application Helm chart
44home : https://github.com/dysnix/charts/tree/main/dysnix/app
55icon : https://dysnix.com/images/logo.svg
6- version : 0.99.20
6+ version : 0.99.21
77sources :
88 - https://github.com/dysnix/charts
99keywords :
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ metadata:
1818 annotations : {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
1919 {{- end }}
2020spec :
21- {{- if not .Values.autoscaling.enabled }}
21+ {{- if and ( not .Values.autoscaling.enabled ) (ge (.Values.replicaCount|int) 0) }}
2222 replicas : {{ .Values.replicaCount }}
2323 {{- end }}
2424 {{- if .Values.updateStrategy }}
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ metadata:
1919 {{- end }}
2020spec :
2121 serviceName : {{ template "common.names.fullname" . }}
22- {{- if not .Values.autoscaling.enabled }}
22+ {{- if and ( not .Values.autoscaling.enabled ) (ge (.Values.replicaCount|int) 0) }}
2323 replicas : {{ .Values.replicaCount }}
2424 {{- end }}
2525 {{- if .Values.updateStrategy }}
Original file line number Diff line number Diff line change @@ -248,6 +248,7 @@ image:
248248 debug : false
249249
250250# # @param replicaCount Number of replicas to deploy
251+ # # use negative values to omit replicas in the controller's spec
251252# #
252253replicaCount : 1
253254# # @param containerPorts Specifies container ports
You can’t perform that action at this time.
0 commit comments