Update teleport

This commit is contained in:
2024-05-30 22:13:48 +08:00
parent 75e0455149
commit e68fe2fe5a
186 changed files with 22273 additions and 24 deletions
+6 -1
View File
@@ -87,7 +87,12 @@ teleport.dev/majorVersion: '{{ include "teleport-cluster.majorVersion" . }}'
{{/* In most places we want to use the FQDN instead of relying on Kubernetes ndots behaviour
for performance reasons */}}
{{- define "teleport-cluster.auth.serviceFQDN" -}}
{{ include "teleport-cluster.auth.serviceName" . }}.{{ .Release.Namespace }}.svc.cluster.local
{{ include "teleport-cluster.auth.serviceName" . }}.{{ .Release.Namespace }}.svc.{{ include "teleport-cluster.clusterDomain" . }}
{{- end -}}
{{/* Returns the cluster domain if set, otherwise fallback to "cluster.local" */}}
{{- define "teleport-cluster.clusterDomain" -}}
{{ default "cluster.local" .Values.global.clusterDomain }}
{{- end -}}
{{/* Matches the operator template "teleport-cluster.operator.fullname" but can be
@@ -116,7 +116,7 @@ spec:
- teleport
- wait
- no-resolve
- '{{ include "teleport-cluster.auth.previousVersionServiceName" . }}.{{ .Release.Namespace }}.svc.cluster.local'
- '{{ include "teleport-cluster.auth.previousVersionServiceName" . }}.{{ .Release.Namespace }}.svc.{{ include "teleport-cluster.clusterDomain" . }}'
# propagating through the limits from the main resources section would double the requested amounts
# and may prevent scheduling on the cluster. as such, we hardcode small limits for this tiny container.
{{- if $proxy.resources }}