poddisruptionbudget-gateway.yaml 460 B

123456789101112131415
  1. {{- if gt (int .Values.gateway.replicas) 1 }}
  2. {{ $dict := dict "ctx" . "component" "gateway" }}
  3. apiVersion: {{ include "tempo.pdb.apiVersion" . }}
  4. kind: PodDisruptionBudget
  5. metadata:
  6. name: {{ include "tempo.resourceName" $dict }}
  7. namespace: {{ .Release.Namespace }}
  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 }}