Skip to content

Commit

Permalink
Enable setting replicas even when AutoScale is active
Browse files Browse the repository at this point in the history
  • Loading branch information
hanayo04 committed Jun 13, 2024
1 parent ed2fc39 commit a856867
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion akka/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,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: 0.2.17
version: 0.2.18

# 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 akka/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ metadata:
{{- end }}
name: "{{ include "akka.fullname" . }}"
spec:
{{- if and (not .Values.autoscaling.enabled) .Values.replicaCount }}
{{- if (ne .Values.replicaCount nil) }}
replicas: {{ .Values.replicaCount }}
{{- end }}
selector:
Expand Down

0 comments on commit a856867

Please sign in to comment.