Fix missing protocol in JWT Issuer (#120)
* Add missing protocol to jwt_issuer Signed-off-by: Mariusz Sabath <[email protected]> * Removed trailing spaces Signed-off-by: Mariusz Sabath <[email protected]> --------- Signed-off-by: Mariusz Sabath <[email protected]>
This commit is contained in:
@@ -206,7 +206,7 @@ plugins:
|
|||||||
{{- fail "You can only enable a single authentication mechanism to an upstream Vault." }}
|
{{- fail "You can only enable a single authentication mechanism to an upstream Vault." }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- with .Values.upstreamAuthority.awsPCA }}
|
{{- with .Values.upstreamAuthority.awsPCA }}
|
||||||
{{- if eq (.enabled | toString) "true" }}
|
{{- if eq (.enabled | toString) "true" }}
|
||||||
@@ -219,18 +219,18 @@ plugins:
|
|||||||
ca_signing_template_arn: {{ .caSigningTemplateARN | default "arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen0/V1" | quote }}
|
ca_signing_template_arn: {{ .caSigningTemplateARN | default "arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen0/V1" | quote }}
|
||||||
{{- if ne .signingAlgorithm "" }}
|
{{- if ne .signingAlgorithm "" }}
|
||||||
signing_algorithm: {{ .signingAlgorithm | quote }}
|
signing_algorithm: {{ .signingAlgorithm | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if ne .assumeRoleARN "" }}
|
{{- if ne .assumeRoleARN "" }}
|
||||||
assume_role_arn: {{ .assumeRoleARN | quote }}
|
assume_role_arn: {{ .assumeRoleARN | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if ne .endpoint "" }}
|
{{- if ne .endpoint "" }}
|
||||||
endpoint: {{ .endpoint | quote }}
|
endpoint: {{ .endpoint | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if ne .supplementalBundlePath "" }}
|
{{- if ne .supplementalBundlePath "" }}
|
||||||
supplemental_bundle_path: {{ .supplementalBundlePath | quote }}
|
supplemental_bundle_path: {{ .supplementalBundlePath | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
|
||||||
{{- if gt $upstreamAuthorityUsed 1 }}
|
{{- if gt $upstreamAuthorityUsed 1 }}
|
||||||
{{- fail "You can only enable a single Upstream Authority." }}
|
{{- fail "You can only enable a single Upstream Authority." }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
{{- else if ne (len .Values.jwtIssuer) 0 }}
|
{{- else if ne (len .Values.jwtIssuer) 0 }}
|
||||||
{{- .Values.jwtIssuer }}
|
{{- .Values.jwtIssuer }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- printf "oidc-discovery.%s" (include "spire-lib.trust-domain" .) }}
|
{{- printf "https://oidc-discovery.%s" (include "spire-lib.trust-domain" .) }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user