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
@@ -0,0 +1,16 @@
{{- if .Values.updater.enabled -}}
{{- $updater := mustMergeOverwrite (mustDeepCopy .Values) .Values.updater -}}
{{- if $updater.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ template "teleport-kube-agent-updater.serviceAccountName" . }}
namespace: {{ .Release.Namespace }}
{{- if $updater.extraLabels.serviceAccount }}
labels: {{- toYaml $updater.extraLabels.serviceAccount | nindent 4 }}
{{- end }}
{{- if $updater.annotations.serviceAccount }}
annotations: {{- toYaml $updater.annotations.serviceAccount | nindent 4 }}
{{- end -}}
{{- end -}}
{{- end -}}