Add teleport

This commit is contained in:
2023-09-09 15:54:27 +08:00
parent ec83286fc7
commit 9467c59c8d
102 changed files with 12224 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
{{- if .Values.highAvailability.podDisruptionBudget.enabled }}
{{- if .Capabilities.APIVersions.Has "policy/v1" }}
apiVersion: policy/v1
{{- else }}
apiVersion: policy/v1beta1
{{- end }}
kind: PodDisruptionBudget
metadata:
name: {{ .Release.Name }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ .Release.Name }}
{{- if .Values.extraLabels.podDisruptionBudget }}
{{- toYaml .Values.extraLabels.podDisruptionBudget | nindent 4 }}
{{- end }}
spec:
minAvailable: {{ .Values.highAvailability.podDisruptionBudget.minAvailable }}
selector:
matchLabels:
app: {{ .Release.Name }}
{{- end }}