Skip to content

Commit 13dcf5b

Browse files
authored
[gcloud-sqlproxy] HPA kind depends on useStatefulset value - #142 (#148)
* #142 - HPA kind * updated chart version to 0.25.5
1 parent daa840e commit 13dcf5b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

stable/gcloud-sqlproxy/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ name: gcloud-sqlproxy
1919
sources:
2020
- https://github.com/rimusz/charts
2121
type: application
22-
version: 0.25.4
22+
version: 0.25.5

stable/gcloud-sqlproxy/templates/horizontalpodautoscaler.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ metadata:
1111
spec:
1212
scaleTargetRef:
1313
apiVersion: apps/v1
14+
{{- if .Values.useStatefulset }}
15+
kind: Statefulset
16+
{{- else }}
1417
kind: Deployment
18+
{{- end }}
1519
name: {{ include "gcloud-sqlproxy.fullname" . }}
1620
minReplicas: {{ .Values.autoscaling.minReplicas }}
1721
maxReplicas: {{ .Values.autoscaling.maxReplicas }}

0 commit comments

Comments
 (0)