Update teleport
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user