Add the namespace to the oidc-discovery-provider allowed dns names
Signed-off-by: Marco Franssen <[email protected]> Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
@@ -10,7 +10,8 @@ data:
|
|||||||
|
|
||||||
domains = [
|
domains = [
|
||||||
"{{ include "spiffe-oidc-discovery-provider.fullname" . }}",
|
"{{ include "spiffe-oidc-discovery-provider.fullname" . }}",
|
||||||
"{{ include "spiffe-oidc-discovery-provider.fullname" . }}.svc.cluster.local",
|
"{{ include "spiffe-oidc-discovery-provider.fullname" . }}.{{ .Release.Namespace }}",
|
||||||
|
"{{ include "spiffe-oidc-discovery-provider.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local",
|
||||||
{{- if gt (len .Values.config.domains) 0 }}
|
{{- if gt (len .Values.config.domains) 0 }}
|
||||||
"{{- join "\",\n \"" .Values.config.domains }}"
|
"{{- join "\",\n \"" .Values.config.domains }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user