Files
HetznerTerra/infrastructure/charts/loki/templates/pattern-ingester/poddisruptionbudget-pattern-ingester.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

18 lines
624 B
YAML

{{- $isDistributed := eq (include "loki.deployment.isDistributed" .) "true" -}}
{{- if and $isDistributed (gt (int .Values.patternIngester.replicas) 1) }}
apiVersion: {{ include "loki.pdb.apiVersion" . }}
kind: PodDisruptionBudget
metadata:
name: {{ include "loki.patternIngesterFullname" . }}
namespace: {{ include "loki.namespace" . }}
labels:
{{- include "loki.patternIngesterLabels" . | nindent 4 }}
spec:
selector:
matchLabels:
{{- include "loki.patternIngesterSelectorLabels" . | nindent 6 }}
{{- with .Values.patternIngester.maxUnavailable }}
maxUnavailable: {{ . }}
{{- end }}
{{- end }}