Skip to content

Commit

Permalink
[gcloud-sqlproxy] HPA kind depends on useStatefulset value - #142 (#148)
Browse files Browse the repository at this point in the history
* #142 - HPA kind

* updated chart version to 0.25.5
  • Loading branch information
tasnyc authored Nov 4, 2023
1 parent daa840e commit 13dcf5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/gcloud-sqlproxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ name: gcloud-sqlproxy
sources:
- https://github.com/rimusz/charts
type: application
version: 0.25.4
version: 0.25.5
4 changes: 4 additions & 0 deletions stable/gcloud-sqlproxy/templates/horizontalpodautoscaler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ metadata:
spec:
scaleTargetRef:
apiVersion: apps/v1
{{- if .Values.useStatefulset }}
kind: Statefulset
{{- else }}
kind: Deployment
{{- end }}
name: {{ include "gcloud-sqlproxy.fullname" . }}
minReplicas: {{ .Values.autoscaling.minReplicas }}
maxReplicas: {{ .Values.autoscaling.maxReplicas }}
Expand Down

0 comments on commit 13dcf5b

Please sign in to comment.