mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-15 02:44:24 -05:00
15 lines
500 B
YAML
15 lines
500 B
YAML
|
{{- if and .Values.podDisruptionBudget (gt (int .Values.replicaCount) 1) }}
|
||
|
apiVersion: policy/v1
|
||
|
kind: PodDisruptionBudget
|
||
|
metadata:
|
||
|
name: {{ include "aws-load-balancer-controller.fullname" . }}
|
||
|
namespace: {{ .Release.Namespace }}
|
||
|
labels:
|
||
|
{{- include "aws-load-balancer-controller.labels" . | nindent 4 }}
|
||
|
spec:
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
{{- include "aws-load-balancer-controller.selectorLabels" . | nindent 6 }}
|
||
|
{{- toYaml .Values.podDisruptionBudget | nindent 2 }}
|
||
|
{{- end }}
|