mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-18 13:54:23 -05:00

Bumping Cilium to also enable node-to-node encryption and node-to-node strict mode. Since the second is not upstream we use our fork.
27 lines
856 B
YAML
27 lines
856 B
YAML
{{- if and (or .Values.externalWorkloads.enabled .Values.clustermesh.useAPIServer) .Values.clustermesh.apiserver.podDisruptionBudget.enabled }}
|
|
{{- $component := .Values.clustermesh.apiserver.podDisruptionBudget }}
|
|
apiVersion: {{ include "podDisruptionBudget.apiVersion" . }}
|
|
kind: PodDisruptionBudget
|
|
metadata:
|
|
name: clustermesh-apiserver
|
|
namespace: {{ .Release.Namespace }}
|
|
{{- with .Values.clustermesh.annotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
labels:
|
|
k8s-app: clustermesh-apiserver
|
|
app.kubernetes.io/part-of: cilium
|
|
app.kubernetes.io/name: clustermesh-apiserver
|
|
spec:
|
|
{{- with $component.maxUnavailable }}
|
|
maxUnavailable: {{ . }}
|
|
{{- end }}
|
|
{{- with $component.minAvailable }}
|
|
minAvailable: {{ . }}
|
|
{{- end }}
|
|
selector:
|
|
matchLabels:
|
|
k8s-app: clustermesh-apiserver
|
|
{{- end }}
|