From 7dad6c56c62966e2da148d8c229ddf693f11f227 Mon Sep 17 00:00:00 2001 From: yuhooo Date: Thu, 7 Sep 2023 14:52:41 +0800 Subject: [PATCH] update(api): update api version to 1.25 / 1.26 --- Chart.yaml | 2 +- README.md | 4 ++-- templates/_cronjob.yaml | 2 +- templates/_hpa.yaml | 2 +- templates/_pdb.yaml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Chart.yaml b/Chart.yaml index e19a272..bd21a40 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -14,4 +14,4 @@ type: library # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 1.4.0 +version: 1.4.1 diff --git a/README.md b/README.md index f8204d0..3c221b0 100644 --- a/README.md +++ b/README.md @@ -275,7 +275,7 @@ Example use: Output: ```yaml -apiVersion: autoscaling/v2beta2 +apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: labels: @@ -422,7 +422,7 @@ Example use: Output: ```yaml -apiVersion: policy/v1beta1 +apiVersion: policy/v1 kind: PodDisruptionBudget metadata: labels: diff --git a/templates/_cronjob.yaml b/templates/_cronjob.yaml index e6a1333..020ac01 100644 --- a/templates/_cronjob.yaml +++ b/templates/_cronjob.yaml @@ -13,7 +13,7 @@ spec: {{- if semverCompare ">=1.21-0" $top.Capabilities.KubeVersion.GitVersion -}} apiVersion: batch/v1 {{- else -}} -apiVersion: batch/v1beta1 +apiVersion: batch/v1 {{- end }} kind: CronJob metadata: diff --git a/templates/_hpa.yaml b/templates/_hpa.yaml index 1d826b4..2d911e5 100644 --- a/templates/_hpa.yaml +++ b/templates/_hpa.yaml @@ -6,7 +6,7 @@ {{- if semverCompare ">=1.23-0" $top.Capabilities.KubeVersion.GitVersion -}} apiVersion: autoscaling/v2 {{- else -}} -apiVersion: autoscaling/v2beta2 +apiVersion: autoscaling/v2 {{- end }} kind: HorizontalPodAutoscaler metadata: diff --git a/templates/_pdb.yaml b/templates/_pdb.yaml index b86276b..9122d47 100644 --- a/templates/_pdb.yaml +++ b/templates/_pdb.yaml @@ -6,7 +6,7 @@ {{- if semverCompare ">=1.21-0" $top.Capabilities.KubeVersion.GitVersion -}} apiVersion: policy/v1 {{- else -}} -apiVersion: policy/v1beta1 +apiVersion: policy/v1 {{- end }} kind: PodDisruptionBudget metadata: