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:
Aikawa 2022-05-22 16:43:12 +09:00 committed by GitHub
parent c314fc112c
commit 0e090ef854
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 4 deletions

View file

@ -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" . }}