Update Api version for cronjob and PodDisruptionBudget (deprecated) (#60)
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
apiVersion: batch/v1beta1
|
apiVersion: batch/v1
|
||||||
kind: CronJob
|
kind: CronJob
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Release.Name }}
|
name: {{ .Release.Name }}
|
||||||
|
|||||||
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user