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