From 17235aecdaa4d9d30f0b3876febee2aed22c43e1 Mon Sep 17 00:00:00 2001 From: Vassiliy Yegorov Date: Sun, 21 Aug 2022 22:33:50 +0700 Subject: [PATCH] fix --- helm/vault/templates/injector-disruptionbudget.yaml | 2 +- helm/vault/templates/server-disruptionbudget.yaml | 2 +- helm/vault/templates/server-psp.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/helm/vault/templates/injector-disruptionbudget.yaml b/helm/vault/templates/injector-disruptionbudget.yaml index 59c9985..20c451a 100644 --- a/helm/vault/templates/injector-disruptionbudget.yaml +++ b/helm/vault/templates/injector-disruptionbudget.yaml @@ -1,5 +1,5 @@ {{- if .Values.injector.podDisruptionBudget }} -apiVersion: policy/v1beta1 +apiVersion: policy/v1 kind: PodDisruptionBudget metadata: name: {{ template "vault.fullname" . }}-agent-injector diff --git a/helm/vault/templates/server-disruptionbudget.yaml b/helm/vault/templates/server-disruptionbudget.yaml index 3c45cc0..c8f0388 100644 --- a/helm/vault/templates/server-disruptionbudget.yaml +++ b/helm/vault/templates/server-disruptionbudget.yaml @@ -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" . }} diff --git a/helm/vault/templates/server-psp.yaml b/helm/vault/templates/server-psp.yaml index 2d94268..c4fe200 100644 --- a/helm/vault/templates/server-psp.yaml +++ b/helm/vault/templates/server-psp.yaml @@ -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" . }}