mirror of
https://github.com/logos-storage/helm-charts.git
synced 2026-01-02 13:13:10 +00:00
18 lines
504 B
YAML
18 lines
504 B
YAML
{{- if .Values.podDisruptionBudget }}
|
|
apiVersion: policy/v1
|
|
kind: PodDisruptionBudget
|
|
metadata:
|
|
name: {{ include "codex.fullname" .}}
|
|
labels: {{ include "codex.labels" . | nindent 4 }}
|
|
annotations:
|
|
{{- with .Values.annotations }}
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
{{ toYaml .Values.podDisruptionBudget | nindent 2 }}
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: {{ include "codex.fullname" .}}
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
{{- end }}
|