feat(spiffe-oidc-discovery-provider): Add configurable log format option. (#757)
Signed-off-by: Shubham Hibare <[email protected]>
This commit is contained in:
@@ -81,6 +81,7 @@ A Helm chart to install the SPIFFE OIDC discovery provider.
|
|||||||
| `insecureScheme.nginx.resources` | Resource requests and limits | `{}` |
|
| `insecureScheme.nginx.resources` | Resource requests and limits | `{}` |
|
||||||
| `jwtIssuer` | Path to JWT issuer. Defaults to oidc-discovery.$trustDomain if unset | `""` |
|
| `jwtIssuer` | Path to JWT issuer. Defaults to oidc-discovery.$trustDomain if unset | `""` |
|
||||||
| `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.logFormat` | The log format, valid values are "text" and "json" | `text` |
|
||||||
| `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.serverPathPrefix` | If specified, all endpoints listened to will be prefixed by this value | `""` |
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
{{- $oidcSocket := .oidcSocket }}
|
{{- $oidcSocket := .oidcSocket }}
|
||||||
{{- with .root }}
|
{{- with .root }}
|
||||||
log_level: {{ .Values.config.logLevel | quote }}
|
log_level: {{ .Values.config.logLevel | quote }}
|
||||||
|
log_format: {{ .Values.config.logFormat | quote }}
|
||||||
|
|
||||||
domains:
|
domains:
|
||||||
- "{{ include "spiffe-oidc-discovery-provider.fullname" . }}"
|
- "{{ include "spiffe-oidc-discovery-provider.fullname" . }}"
|
||||||
|
|||||||
@@ -209,6 +209,8 @@ jwtIssuer: ""
|
|||||||
config:
|
config:
|
||||||
## @param config.logLevel The log level, valid values are "debug", "info", "warn", and "error"
|
## @param config.logLevel The log level, valid values are "debug", "info", "warn", and "error"
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
## @param config.logFormat The log format, valid values are "text" and "json"
|
||||||
|
logFormat: text
|
||||||
## @param config.jwtDomain [string] The JWT domain. Defaults to oidc-discovery.$jwtIssuer URL-parsed host if unset
|
## @param config.jwtDomain [string] The JWT domain. Defaults to oidc-discovery.$jwtIssuer URL-parsed host if unset
|
||||||
jwtDomain: ""
|
jwtDomain: ""
|
||||||
## @param config.jwksUri [string] The JWKS URI
|
## @param config.jwksUri [string] The JWKS URI
|
||||||
|
|||||||
Reference in New Issue
Block a user