mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-29 09:26:17 -05:00
21 lines
597 B
YAML
21 lines
597 B
YAML
{{- if and .Values.hubble.enabled .Values.hubble.relay.enabled .Values.hubble.relay.podDisruptionBudget.enabled }}
|
|
{{- $component := .Values.hubble.relay.podDisruptionBudget }}
|
|
apiVersion: {{ include "podDisruptionBudget.apiVersion" . }}
|
|
kind: PodDisruptionBudget
|
|
metadata:
|
|
name: hubble-relay
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
k8s-app: hubble-relay
|
|
spec:
|
|
{{- with $component.maxUnavailable }}
|
|
maxUnavailable: {{ . }}
|
|
{{- end }}
|
|
{{- with $component.minAvailable }}
|
|
minAvailable: {{ . }}
|
|
{{- end }}
|
|
selector:
|
|
matchLabels:
|
|
k8s-app: hubble-relay
|
|
{{- end }}
|