mirror of
https://github.com/hahow/common-chart.git
synced 2026-02-14 09:39:57 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user