diff --git a/charts/capacity-reservation/Chart.yaml b/charts/capacity-reservation/Chart.yaml index 61252ea..d10c824 100644 --- a/charts/capacity-reservation/Chart.yaml +++ b/charts/capacity-reservation/Chart.yaml @@ -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. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.1 +version: 0.1.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. Versions are not expected to diff --git a/charts/capacity-reservation/templates/cronjob-down.yaml b/charts/capacity-reservation/templates/cronjob-down.yaml index 19ceded..db01475 100644 --- a/charts/capacity-reservation/templates/cronjob-down.yaml +++ b/charts/capacity-reservation/templates/cronjob-down.yaml @@ -20,7 +20,7 @@ spec: command: - /bin/sh - -c - - kubectl scale --replicas={{ .Values.schedule.down.replicas }} deployment/{{ include "capacity-reservation.fullname" . }}-reservation + - kubectl scale --replicas={{ .Values.schedule.down.reservation.replicas }} deployment/{{ include "capacity-reservation.fullname" . }}-reservation resources: {{- toYaml .Values.schedule.down.resources | nindent 14 }} restartPolicy: OnFailure diff --git a/charts/capacity-reservation/templates/cronjob-up.yaml b/charts/capacity-reservation/templates/cronjob-up.yaml index 988662d..4dfbec4 100644 --- a/charts/capacity-reservation/templates/cronjob-up.yaml +++ b/charts/capacity-reservation/templates/cronjob-up.yaml @@ -20,7 +20,7 @@ spec: command: - /bin/sh - -c - - kubectl scale --replicas={{ .Values.schedule.up.replicas }} deployment/{{ include "capacity-reservation.fullname" . }}-reservation + - kubectl scale --replicas={{ .Values.schedule.up.reservation.replicas }} deployment/{{ include "capacity-reservation.fullname" . }}-reservation resources: {{- toYaml .Values.schedule.up.resources | nindent 14 }} restartPolicy: OnFailure