Update Api version for cronjob and PodDisruptionBudget (deprecated) (#60)

This commit is contained in:
Youcef Guichi
2023-03-01 12:14:50 +01:00
committed by GitHub
parent 2389545811
commit 96cbc7ec18
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
apiVersion: batch/v1beta1 apiVersion: batch/v1
kind: CronJob kind: CronJob
metadata: metadata:
name: {{ .Release.Name }} name: {{ .Release.Name }}
+1 -1
View File
@@ -1,5 +1,5 @@
{{- if and (.Values.podDisruptionBudgetEnabled) (gt (.Values.replicas | int64) 1) }} {{- if and (.Values.podDisruptionBudgetEnabled) (gt (.Values.replicas | int64) 1) }}
apiVersion: policy/v1beta1 apiVersion: policy/v1
kind: PodDisruptionBudget kind: PodDisruptionBudget
metadata: metadata:
name: {{ template "robustName" .Release.Name }} name: {{ template "robustName" .Release.Name }}