Adding dependencies, binary autostart

This commit is contained in:
plm
2024-12-16 14:55:43 +01:00
parent 5e1503f0bc
commit 10b01fdc40
318 changed files with 47355 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
{{- $isSimpleScalable := eq (include "loki.deployment.isScalable" .) "true" -}}
{{- if and $isSimpleScalable (gt (int .Values.write.replicas) 1) }}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "loki.writeFullname" . }}
namespace: {{ $.Release.Namespace }}
labels:
{{- include "loki.writeLabels" . | nindent 4 }}
spec:
selector:
matchLabels:
{{- include "loki.writeSelectorLabels" . | nindent 6 }}
maxUnavailable: 1
{{- end }}