Files
HetznerTerra/infrastructure/charts/loki/templates/read/poddisruptionbudget-read.yaml
T
micqdf a04b8ad865
Deploy Cluster / Terraform (push) Waiting to run
Deploy Cluster / Ansible (push) Blocked by required conditions
fix: vendor observability charts
2026-05-04 10:49:46 +00:00

16 lines
483 B
YAML

{{- $isSimpleScalable := eq (include "loki.deployment.isScalable" .) "true" -}}
{{- if and $isSimpleScalable (gt (int .Values.read.replicas) 1) }}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "loki.readFullname" . }}
namespace: {{ include "loki.namespace" . }}
labels:
{{- include "loki.readLabels" . | nindent 4 }}
spec:
selector:
matchLabels:
{{- include "loki.readSelectorLabels" . | nindent 6 }}
maxUnavailable: 1
{{- end }}