Closed tasnyc closed 11 months ago
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG
If this is a BUG REPORT, please:
Version of Helm and Kubernetes: helm: 3.13.0 kubernetes: 1.24
Which chart: gcloud-sqlproxy:0.25.2
What happened: Template is setting my HPA kind as Deployment even though in my values.yaml file i have useStatefulset: true.
What you expected to happen: Should set the HPA kind as Statefulset instead of Deployment
Possible Fix: Probably just need an if else statement depending on what useStatefulset is set to in the values.yaml file.
Thank you
gcloud-sqlproxy/templates/horizontalpodautoscaler.yaml
{{- if .Values.useStatefulset }} kind: Statefulset {{- else }} kind: Deployment {{- end }}
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG
If this is a BUG REPORT, please:
Version of Helm and Kubernetes: helm: 3.13.0 kubernetes: 1.24
Which chart: gcloud-sqlproxy:0.25.2
What happened: Template is setting my HPA kind as Deployment even though in my values.yaml file i have useStatefulset: true.
What you expected to happen: Should set the HPA kind as Statefulset instead of Deployment
Possible Fix: Probably just need an if else statement depending on what useStatefulset is set to in the values.yaml file.
Thank you