Add oidc server_path_prefix option (#695)

Signed-off-by: Kevin Fox <[email protected]>
Co-authored-by: Faisal Memon <[email protected]>
This commit is contained in:
kfox1111
2025-11-23 21:28:44 +00:00
committed by GitHub
co-authored by Faisal Memon
parent 8dffc8eda1
commit 31091cf5b1
3 changed files with 7 additions and 0 deletions
@@ -82,6 +82,7 @@ A Helm chart to install the SPIFFE OIDC discovery provider.
| `config.logLevel` | The log level, valid values are "debug", "info", "warn", and "error" | `info` | | `config.logLevel` | The log level, valid values are "debug", "info", "warn", and "error" | `info` |
| `config.jwtDomain` | The JWT domain. Defaults to oidc-discovery.$jwtIssuer URL-parsed host if unset | `""` | | `config.jwtDomain` | The JWT domain. Defaults to oidc-discovery.$jwtIssuer URL-parsed host if unset | `""` |
| `config.jwksUri` | The JWKS URI | `""` | | `config.jwksUri` | The JWKS URI | `""` |
| `config.serverPathPrefix` | If specified, all endpoints listened to will be prefixed by this value | `""` |
| `config.additionalDomains` | Add additional domains that can be used for oidc discovery | `[]` | | `config.additionalDomains` | Add additional domains that can be used for oidc discovery | `[]` |
| `imagePullSecrets` | Image pull secret names | `[]` | | `imagePullSecrets` | Image pull secret names | `[]` |
| `nameOverride` | Name override | `""` | | `nameOverride` | Name override | `""` |
@@ -47,6 +47,10 @@ serving_cert_file:
jwks_uri: {{ .Values.config.jwksUri | quote }} jwks_uri: {{ .Values.config.jwksUri | quote }}
{{- end }} {{- end }}
{{- if .Values.config.serverPathPrefix }}
server_path_prefix: {{ .Values.config.serverPathPrefix | quote }}
{{- end }}
{{- if eq .Values.bundleSource "ConfigMap" }} {{- if eq .Values.bundleSource "ConfigMap" }}
file: file:
path: /bundle/bundle.spiffe path: /bundle/bundle.spiffe
@@ -210,6 +210,8 @@ config:
jwtDomain: "" jwtDomain: ""
## @param config.jwksUri [string] The JWKS URI ## @param config.jwksUri [string] The JWKS URI
jwksUri: "" jwksUri: ""
## @param config.serverPathPrefix [string] If specified, all endpoints listened to will be prefixed by this value
serverPathPrefix: ""
## @param config.additionalDomains [array] Add additional domains that can be used for oidc discovery ## @param config.additionalDomains [array] Add additional domains that can be used for oidc discovery
additionalDomains: [] additionalDomains: []
# - localhost # - localhost