chore(argo-events): use policy/v1 for poddisruptionbudgets, when available (#1710)

* Use policy/v1 for poddisruptionbudgets, when available

Signed-off-by: Vadim Grek <vadimprog@gmail.com>
This commit is contained in:
Vadim Grek 2022-12-15 10:33:36 +02:00 committed by GitHub
parent ed24a95467
commit 9e523b0538
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 6 deletions

View file

@ -1,5 +1,5 @@
{{- if .Values.controller.pdb.enabled }}
apiVersion: policy/v1beta1
apiVersion: {{ template "argo-events.pdb.apiVersion" . }}
kind: PodDisruptionBudget
metadata:
name: {{ template "argo-events.controller.fullname" . }}