diff --git a/bitnami/jupyterhub/Chart.yaml b/bitnami/jupyterhub/Chart.yaml index c371cbb35..942485ae2 100644 --- a/bitnami/jupyterhub/Chart.yaml +++ b/bitnami/jupyterhub/Chart.yaml @@ -26,4 +26,4 @@ name: jupyterhub sources: - https://github.com/bitnami/containers/tree/main/bitnami/jupyterhub - https://github.com/jupyterhub/jupyterhub -version: 3.0.1 +version: 3.0.2 diff --git a/bitnami/jupyterhub/templates/hub/networkpolicy.yaml b/bitnami/jupyterhub/templates/hub/networkpolicy.yaml index 16bf1c8f3..db4ed2ae3 100644 --- a/bitnami/jupyterhub/templates/hub/networkpolicy.yaml +++ b/bitnami/jupyterhub/templates/hub/networkpolicy.yaml @@ -1,5 +1,5 @@ {{- if .Values.hub.networkPolicy.enabled -}} -apiVersion: networking.k8s.io/v1 +apiVersion: {{ include "common.capabilities.networkPolicy.apiVersion" . }} kind: NetworkPolicy metadata: labels: {{- include "common.labels.standard" . | nindent 4 }} diff --git a/bitnami/jupyterhub/templates/proxy/networkpolicy.yaml b/bitnami/jupyterhub/templates/proxy/networkpolicy.yaml index 6c4564bf6..0feeffc15 100644 --- a/bitnami/jupyterhub/templates/proxy/networkpolicy.yaml +++ b/bitnami/jupyterhub/templates/proxy/networkpolicy.yaml @@ -1,5 +1,5 @@ {{- if .Values.proxy.networkPolicy.enabled -}} -apiVersion: networking.k8s.io/v1 +apiVersion: {{ include "common.capabilities.networkPolicy.apiVersion" . }} kind: NetworkPolicy metadata: labels: {{- include "common.labels.standard" . | nindent 4 }} diff --git a/bitnami/jupyterhub/templates/singleuser/networkpolicy.yaml b/bitnami/jupyterhub/templates/singleuser/networkpolicy.yaml index b3fe79145..7715315e1 100644 --- a/bitnami/jupyterhub/templates/singleuser/networkpolicy.yaml +++ b/bitnami/jupyterhub/templates/singleuser/networkpolicy.yaml @@ -1,5 +1,5 @@ {{- if .Values.singleuser.networkPolicy.enabled -}} -apiVersion: networking.k8s.io/v1 +apiVersion: {{ include "common.capabilities.networkPolicy.apiVersion" . }} kind: NetworkPolicy metadata: labels: {{- include "common.labels.standard" . | nindent 4 }}