fix(argo-workflows): adjust api version of pod disruption budget by referring to k8s version (#1288)
Signed-off-by: yu-croco <yuki.kita22@gmail.com>
This commit is contained in:
parent
c314fc112c
commit
0e090ef854
4 changed files with 15 additions and 4 deletions
|
|
@ -1,5 +1,5 @@
|
|||
{{- if .Values.controller.pdb.enabled }}
|
||||
apiVersion: policy/v1beta1
|
||||
apiVersion: {{ include "argo-workflows.podDisruptionBudget.apiVersion" . }}
|
||||
kind: PodDisruptionBudget
|
||||
metadata:
|
||||
name: {{ template "argo-workflows.controller.fullname" . }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue