poddisruptionbudget-federation-frontend.yaml 564 B

12345678910111213141516
  1. {{- if and .Values.enterprise.enabled .Values.enterpriseFederationFrontend.enabled -}}
  2. {{- if gt (int .Values.enterpriseFederationFrontend.replicas) 1 }}
  3. {{ $dict := dict "ctx" . "component" "enterprise-federation-frontend" }}
  4. apiVersion: {{ include "tempo.pdb.apiVersion" . }}
  5. kind: PodDisruptionBudget
  6. metadata:
  7. name: {{ include "tempo.resourceName" $dict }}
  8. labels:
  9. {{- include "tempo.labels" $dict | nindent 4 }}
  10. spec:
  11. selector:
  12. matchLabels:
  13. {{- include "tempo.selectorLabels" $dict | nindent 6 }}
  14. maxUnavailable: 1
  15. {{- end }}
  16. {{- end -}}