This commit is contained in:
Vassiliy Yegorov
2022-08-21 22:33:50 +07:00
parent 0f2234f446
commit 17235aecda
3 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
{{- if .Values.injector.podDisruptionBudget }}
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ template "vault.fullname" . }}-agent-injector

View File

@@ -3,7 +3,7 @@
{{- if and (eq (.Values.global.enabled | toString) "true") (eq .mode "ha") (eq (.Values.server.ha.disruptionBudget.enabled | toString) "true") -}}
# PodDisruptionBudget to prevent degrading the server cluster through
# voluntary cluster changes.
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ template "vault.fullname" . }}

View File

@@ -1,6 +1,6 @@
{{ template "vault.mode" . }}
{{- if and (ne .mode "") (eq (.Values.global.enabled | toString) "true") (eq (.Values.global.psp.enable | toString) "true") }}
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodSecurityPolicy
metadata:
name: {{ template "vault.fullname" . }}