diff --git a/.gitlab/ci/test.gitlab-ci.yml b/.gitlab/ci/test.gitlab-ci.yml index 3f21449951db74a602daad8af230805a35937747..0510a088e2138e81263ad131ef29c160184600dd 100644 --- a/.gitlab/ci/test.gitlab-ci.yml +++ b/.gitlab/ci/test.gitlab-ci.yml @@ -282,6 +282,12 @@ test-deploy: - auto-deploy deploy - helm -n "$EXPECTED_NAMESPACE" get all production +test-deploy-pdb: + extends: test-deploy + variables: + HELM_UPGRADE_EXTRA_ARGS: |- + --set podDisruptionBudget.enabled=true + test-deploy-custom-context: extends: test-deploy variables: diff --git a/assets/auto-deploy-app/templates/pdb.yaml b/assets/auto-deploy-app/templates/pdb.yaml index 0cadb4db1ea88ebd47c5cfbefd110e14911061d3..30c9bb4ed40bd55d6a00fe289a6c5e3d110d4bb8 100644 --- a/assets/auto-deploy-app/templates/pdb.yaml +++ b/assets/auto-deploy-app/templates/pdb.yaml @@ -1,5 +1,5 @@ {{- if .Values.podDisruptionBudget.enabled }} -apiVersion: policy/v1beta1 +apiVersion: policy/v1 kind: PodDisruptionBudget metadata: name: {{ template "fullname" . }}