Files
devops-infra-helm-charts-gcp/helm-templates/tempo-distributed/templates/enterprise-federation-frontend/poddisruptionbudget-federation-frontend.yaml
T
2026-08-26 03:39:42 +05:30

16 lines
564 B
YAML

{{- if and .Values.enterprise.enabled .Values.enterpriseFederationFrontend.enabled -}}
{{- if gt (int .Values.enterpriseFederationFrontend.replicas) 1 }}
{{ $dict := dict "ctx" . "component" "enterprise-federation-frontend" }}
apiVersion: {{ include "tempo.pdb.apiVersion" . }}
kind: PodDisruptionBudget
metadata:
name: {{ include "tempo.resourceName" $dict }}
labels:
{{- include "tempo.labels" $dict | nindent 4 }}
spec:
selector:
matchLabels:
{{- include "tempo.selectorLabels" $dict | nindent 6 }}
maxUnavailable: 1
{{- end }}
{{- end -}}