mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
[bitnami/argo-workflows] Do not hardcode PDB apiVersion (#9089)
This commit is contained in:
@@ -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 -}}
|
||||
|
||||
Reference in New Issue
Block a user