feat(keycloak): add support for KEYCLOAK_LOG_OUTPUT (#10822)

- add for `KEYCLOAK_LOG_OUTPUT` env-var, allowing the configuration of the `log-console-output` parameter
- bumps minor chart version
- add `logging.output` to README

ref: https://www.keycloak.org/server/logging#_configuring_json_or_plain_console_logging
ref: https://www.keycloak.org/server/all-config#_logging
Signed-off-by: Marco Reyes R <marco.reyes@fif.tech>
This commit is contained in:
Marco Reyes R
2022-06-24 03:46:15 -04:00
committed by GitHub
parent ef04eb312d
commit 8f82908ca2
3 changed files with 21 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ Keycloak is a high performance Java-based identity and access management solutio
[Overview of Keycloak](https://www.keycloak.org/)
Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.
## TL;DR
```console
@@ -319,6 +319,13 @@ The command removes all the Kubernetes components associated with the chart and
| `cache.enabled` | Switch to enable or disable the keycloak distributed cache for kubernetes | `false` |
### Keycloak Logging parameters
| Name | Description | Value |
| ---------------- | --------------------------------------------------------------- | --------- |
| `logging.output` | Alternates between the default log output format or json format | `default` |
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
```bash

View File

@@ -34,3 +34,7 @@ data:
{{- else }}
KEYCLOAK_CACHE_TYPE: "local"
{{- end }}
{{- if .Values.logging }}
KEYCLOAK_LOG_OUTPUT: {{ .Values.logging.output | quote }}
{{- end }}

View File

@@ -946,3 +946,12 @@ externalDatabase:
##
cache:
enabled: false
## @section Keycloak Logging parameters
## Keycloak logging configuration
## ref: https://www.keycloak.org/server/logging
## @param logging.output Alternates between the default log output format or json format
##
logging:
output: default