From ba77b534f577144d0e9a3cd738918d95c87a7fb9 Mon Sep 17 00:00:00 2001 From: Roman Verenich Date: Fri, 10 Mar 2023 11:42:40 +0200 Subject: [PATCH] Update obsolete hpa api, bump app version to 1.33.4 --- stable/gcloud-sqlproxy/Chart.yaml | 4 ++-- stable/gcloud-sqlproxy/templates/horizontalpodautoscaler.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/stable/gcloud-sqlproxy/Chart.yaml b/stable/gcloud-sqlproxy/Chart.yaml index 7bdf62f..093c1bc 100755 --- a/stable/gcloud-sqlproxy/Chart.yaml +++ b/stable/gcloud-sqlproxy/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -appVersion: 1.31.1 +appVersion: 1.33.4 description: Google Cloud SQL Proxy engine: gotpl home: https://cloud.google.com/sql/docs/postgres/sql-proxy @@ -19,4 +19,4 @@ name: gcloud-sqlproxy sources: - https://github.com/rimusz/charts type: application -version: 0.23.0 +version: 0.24.0 diff --git a/stable/gcloud-sqlproxy/templates/horizontalpodautoscaler.yaml b/stable/gcloud-sqlproxy/templates/horizontalpodautoscaler.yaml index 74d229e..bf0c463 100644 --- a/stable/gcloud-sqlproxy/templates/horizontalpodautoscaler.yaml +++ b/stable/gcloud-sqlproxy/templates/horizontalpodautoscaler.yaml @@ -1,5 +1,5 @@ {{- if and .Values.autoscaling.enabled .Values.resources}} -apiVersion: autoscaling/v2beta1 +apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: labels: @@ -10,7 +10,7 @@ metadata: name: {{ include "gcloud-sqlproxy.fullname" . }} spec: scaleTargetRef: - apiVersion: apps/v1beta1 + apiVersion: apps/v1 kind: Deployment name: {{ include "gcloud-sqlproxy.fullname" . }} minReplicas: {{ .Values.autoscaling.minReplicas }}