Skip to content

Commit

Permalink
Merge pull request #322 from chatwork/SREP1678-addphp
Browse files Browse the repository at this point in the history
Allow setting replicaCount to 0
  • Loading branch information
hanayo04 authored Aug 28, 2024
2 parents 1efa3ab + a20eb67 commit ddb5e6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion php/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 1.4.1
version: 1.4.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
Expand Down
2 changes: 1 addition & 1 deletion php/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ metadata:
{{- end }}
name: {{ include "php.fullname" . }}
spec:
{{- if and (not .Values.autoscaling.enabled) .Values.replicaCount }}
{{- if and (not .Values.autoscaling.enabled) (ne .Values.replicaCount nil) }}
replicas: {{ .Values.replicaCount }}
{{- end }}
selector:
Expand Down

0 comments on commit ddb5e6b

Please sign in to comment.