Micke Nordin
324724c3b1
Export 3.0.3 like so: ``` helm repo add jupyterhub https://hub.jupyter.org/helm-chart/ helm fetch jupyterhub/jupyterhub --version 3.0.3 --untar --untardir . ```
19 lines
584 B
YAML
19 lines
584 B
YAML
{{- if .Values.proxy.traefik.pdb.enabled -}}
|
|
apiVersion: policy/v1
|
|
kind: PodDisruptionBudget
|
|
metadata:
|
|
name: proxy
|
|
labels:
|
|
{{- include "jupyterhub.labels" . | nindent 4 }}
|
|
spec:
|
|
{{- if not (typeIs "<nil>" .Values.proxy.traefik.pdb.maxUnavailable) }}
|
|
maxUnavailable: {{ .Values.proxy.traefik.pdb.maxUnavailable }}
|
|
{{- end }}
|
|
{{- if not (typeIs "<nil>" .Values.proxy.traefik.pdb.minAvailable) }}
|
|
minAvailable: {{ .Values.proxy.traefik.pdb.minAvailable }}
|
|
{{- end }}
|
|
selector:
|
|
matchLabels:
|
|
{{- include "jupyterhub.matchLabels" . | nindent 6 }}
|
|
{{- end }}
|