Skip to content

Commit

Permalink
Merge pull request #1342 from banzaicloud/k8s-1.25-thanos
Browse files Browse the repository at this point in the history
[K8s 1.25 support] Migrate PodDisruptionBudget policy/v1beta1 API usage to policy/v1 for Thanos chart
  • Loading branch information
shanchunyang0919 committed Jun 15, 2023
2 parents 1612d51 + 04a56e0 commit 4782a71
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions thanos/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v1
appVersion: 0.17.1
appVersion: 0.28.1
description: Thanos is a set of components that can be composed into a highly available metric system with unlimited storage capacity, which can be added seamlessly on top of existing Prometheus deployments.
name: thanos
keywords:
Expand All @@ -9,7 +9,7 @@ keywords:
sources:
- https://github.com/thanos-io/thanos
- https://github.com/banzaicloud/banzai-charts/tree/master/thanos
version: 0.4.6
version: 0.4.7
icon: https://raw.githubusercontent.com/thanos-io/thanos/master/docs/img/Thanos-logo_fullmedium.png
maintainers:
- name: Banzai Cloud
Expand Down
2 changes: 1 addition & 1 deletion thanos/templates/bucket-poddisruptionbudget.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if and .Values.bucket.enabled .Values.bucket.podDisruptionBudget.enabled }}
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "thanos.componentname" (list $ "bucket") }}
Expand Down
2 changes: 1 addition & 1 deletion thanos/templates/query-frontend-poddisruptionbudget.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if and .Values.queryFrontend.enabled .Values.queryFrontend.podDisruptionBudget.enabled }}
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "thanos.componentname" (list $ "query-frontend") }}
Expand Down
2 changes: 1 addition & 1 deletion thanos/templates/query-poddisruptionbudget.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if and .Values.query.enabled .Values.query.podDisruptionBudget.enabled }}
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "thanos.componentname" (list $ "query") }}
Expand Down

0 comments on commit 4782a71

Please sign in to comment.