Fix jwtIssuer to allow for Uris including scheme (#425)
This commit is contained in:
@@ -66,7 +66,7 @@ A Helm chart to install the SPIFFE OIDC discovery provider.
|
||||
| insecureScheme.nginx.image.tag | string | `"1.24.0-alpine"` | Overrides the image tag |
|
||||
| insecureScheme.nginx.image.version | string | `""` | This value is deprecated in favor of tag. (Will be removed in a future release) |
|
||||
| insecureScheme.nginx.resources | object | `{}` | |
|
||||
| jwtIssuer | string | `"oidc-discovery.example.org"` | |
|
||||
| jwtIssuer | string | `"https://oidc-discovery.example.org"` | |
|
||||
| livenessProbe.initialDelaySeconds | int | `5` | Initial delay seconds for livenessProbe |
|
||||
| livenessProbe.periodSeconds | int | `5` | Period seconds for livenessProbe |
|
||||
| nameOverride | string | `""` | |
|
||||
|
||||
@@ -8,7 +8,8 @@ domains:
|
||||
- "{{ include "spiffe-oidc-discovery-provider.fullname" . }}"
|
||||
- "{{ include "spiffe-oidc-discovery-provider.fullname" . }}.{{ include "spiffe-oidc-discovery-provider.namespace" . }}"
|
||||
- "{{ include "spiffe-oidc-discovery-provider.fullname" . }}.{{ include "spiffe-oidc-discovery-provider.namespace" . }}.svc.{{ include "spire-lib.cluster-domain" . }}"
|
||||
{{- $jwtIssuer := include "spire-lib.jwt-issuer" . }}
|
||||
{{- $uri := urlParse (include "spire-lib.jwt-issuer" .) }}
|
||||
{{- $jwtIssuer := (default $uri.path $uri.host) }}
|
||||
{{- uniq (concat (list $jwtIssuer) .Values.config.additionalDomains) | toYaml | nindent 2 }}
|
||||
|
||||
{{- if .Values.insecureScheme.enabled }}
|
||||
|
||||
@@ -107,7 +107,7 @@ insecureScheme:
|
||||
# cpu: 100m
|
||||
# memory: 64Mi
|
||||
|
||||
jwtIssuer: oidc-discovery.example.org
|
||||
jwtIssuer: https://oidc-discovery.example.org
|
||||
|
||||
config:
|
||||
# -- The log level, valid values are "debug", "info", "warn", and "error"
|
||||
|
||||
@@ -159,7 +159,7 @@ In order to run Tornjak with simple HTTP Connection only, make sure you don't cr
|
||||
| ingress.hosts[0].paths[0].pathType | string | `"Prefix"` | |
|
||||
| ingress.tls | list | `[]` | |
|
||||
| initContainers | list | `[]` | |
|
||||
| jwtIssuer | string | `"oidc-discovery.example.org"` | The JWT issuer domain |
|
||||
| jwtIssuer | string | `"https://oidc-discovery.example.org"` | The JWT issuer domain |
|
||||
| livenessProbe.failureThreshold | int | `2` | Failure threshold count for livenessProbe |
|
||||
| livenessProbe.initialDelaySeconds | int | `15` | Initial delay seconds for livenessProbe |
|
||||
| livenessProbe.periodSeconds | int | `60` | Period seconds for livenessProbe |
|
||||
|
||||
@@ -132,7 +132,7 @@ dataStore:
|
||||
# -- The log level, valid values are "debug", "info", "warn", and "error"
|
||||
logLevel: info
|
||||
# -- The JWT issuer domain
|
||||
jwtIssuer: oidc-discovery.example.org
|
||||
jwtIssuer: https://oidc-discovery.example.org
|
||||
|
||||
# -- Set the name of the Kubernetes cluster. (`kubeadm init --service-dns-domain`)
|
||||
clusterName: example-cluster
|
||||
|
||||
Reference in New Issue
Block a user