[bitnami/argo-workflows] Do not hardcode PDB apiVersion (#9089)

This commit is contained in:
Juan Ariza Toledano
2022-02-21 11:21:08 +01:00
committed by GitHub
parent 5d747efe8e
commit 49c04cb845
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -35,4 +35,4 @@ sources:
- https://github.com/bitnami/bitnami-docker-argo-workflow-controller
- https://github.com/bitnami/bitnami-docker-argo-workflow-exec
- https://argoproj.github.io/workflows/
version: 0.2.5
version: 0.2.6
@@ -1,5 +1,5 @@
{{- if .Values.controller.pdb.enabled }}
apiVersion: policy/v1beta1
apiVersion: {{ include "common.capabilities.policy.apiVersion" . }}
kind: PodDisruptionBudget
metadata:
name: {{ include "argo-workflows.controller.fullname" . }}
@@ -1,6 +1,6 @@
{{- if and .Values.server.enabled .Values.server.pdb.enabled -}}
apiVersion: policy/v1beta1
apiVersion: {{ include "common.capabilities.policy.apiVersion" . }}
kind: PodDisruptionBudget
metadata:
name: {{ include "argo-workflows.server.fullname" . }}
@@ -25,4 +25,4 @@ spec:
selector:
matchLabels: {{- include "common.labels.matchLabels" . | nindent 6 }}
app.kubernetes.io/component: server
{{- end -}}
{{- end -}}