mirror of
https://github.com/bluxmit/alnoda-workspaces.git
synced 2024-04-29 19:52:19 +12:00
14 lines
351 B
YAML
14 lines
351 B
YAML
{{- if .Values.pdb.enabled -}}
|
|
apiVersion: policy/v1beta1
|
|
kind: PodDisruptionBudget
|
|
metadata:
|
|
name: {{ template "nbviewer.fullname" . }}
|
|
labels:
|
|
{{- include "nbviewer.labels" . | nindent 4 }}
|
|
spec:
|
|
minAvailable: {{ .Values.pdb.minAvailable }}
|
|
selector:
|
|
matchLabels:
|
|
{{- include "nbviewer.matchLabels" . | nindent 6 }}
|
|
{{- end }}
|