Skip to content

Commit

Permalink
Merge pull request #1343 from banzaicloud/upgrade-hpa-v2
Browse files Browse the repository at this point in the history
[K8s 1.25 support] Migrate HorizontalPodAutoScalar to scaling/v2 for Thanos chart
  • Loading branch information
shanchunyang0919 committed Jun 16, 2023
2 parents 4782a71 + 0b5ccad commit b7d1a16
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion thanos/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ keywords:
sources:
- https://github.com/thanos-io/thanos
- https://github.com/banzaicloud/banzai-charts/tree/master/thanos
version: 0.4.7
version: 0.4.8
icon: https://raw.githubusercontent.com/thanos-io/thanos/master/docs/img/Thanos-logo_fullmedium.png
maintainers:
- name: Banzai Cloud
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if .Values.queryFrontend.enabled }}
{{- if .Values.queryFrontend.autoscaling.enabled }}
apiVersion: autoscaling/v2beta1
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "thanos.componentname" (list $ "query-frontend") }}
Expand Down
2 changes: 1 addition & 1 deletion thanos/templates/query-horizontalpodautoscaler.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if .Values.query.enabled }}
{{- if .Values.query.autoscaling.enabled }}
apiVersion: autoscaling/v2beta1
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "thanos.componentname" (list $ "query") }}
Expand Down

0 comments on commit b7d1a16

Please sign in to comment.