Merge pull request #12 from hahow/chore/update-k8s-api-1.25-.26

update(api): update api version to 1.25 / 1.26
This commit is contained in:
MarkLin
2023-09-22 16:12:08 +08:00
committed by GitHub
5 changed files with 6 additions and 6 deletions

View File

@@ -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

View File

@@ -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:

View File

@@ -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:

View File

@@ -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:

View File

@@ -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: