From 894eb595df22b29b309255b6ea2e29effa22d4b5 Mon Sep 17 00:00:00 2001 From: Juan Ariza Toledano Date: Mon, 21 Feb 2022 11:37:27 +0100 Subject: [PATCH] [bitnami/jupyterhub] Do not hardcode PDB apiVersion (#9096) --- bitnami/jupyterhub/Chart.yaml | 2 +- bitnami/jupyterhub/templates/hub/pdb.yaml | 2 +- bitnami/jupyterhub/templates/proxy/pdb.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bitnami/jupyterhub/Chart.yaml b/bitnami/jupyterhub/Chart.yaml index bb35a9d5c8..742200be08 100644 --- a/bitnami/jupyterhub/Chart.yaml +++ b/bitnami/jupyterhub/Chart.yaml @@ -26,4 +26,4 @@ name: jupyterhub sources: - https://github.com/bitnami/bitnami-docker-jupyterhub - https://github.com/jupyterhub/jupyterhub -version: 0.4.6 +version: 0.4.7 diff --git a/bitnami/jupyterhub/templates/hub/pdb.yaml b/bitnami/jupyterhub/templates/hub/pdb.yaml index b87436c68e..b4face6d43 100644 --- a/bitnami/jupyterhub/templates/hub/pdb.yaml +++ b/bitnami/jupyterhub/templates/hub/pdb.yaml @@ -1,5 +1,5 @@ {{- if .Values.hub.pdb.create -}} -apiVersion: policy/v1beta1 +apiVersion: {{ include "common.capabilities.policy.apiVersion" . }} kind: PodDisruptionBudget metadata: labels: {{- include "common.labels.standard" . | nindent 4 }} diff --git a/bitnami/jupyterhub/templates/proxy/pdb.yaml b/bitnami/jupyterhub/templates/proxy/pdb.yaml index af426fa0db..e49f312da2 100644 --- a/bitnami/jupyterhub/templates/proxy/pdb.yaml +++ b/bitnami/jupyterhub/templates/proxy/pdb.yaml @@ -1,5 +1,5 @@ {{- if .Values.proxy.pdb.create -}} -apiVersion: policy/v1beta1 +apiVersion: {{ include "common.capabilities.policy.apiVersion" . }} kind: PodDisruptionBudget metadata: labels: {{- include "common.labels.standard" . | nindent 4 }}