feat (helm charts): allow OIDC DisplayName to be customised #415
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
This PR solves https://github.com/airbytehq/oncall/issues/7823 by allowing users to define a DisplayName to be used for OIDC Provider definitions configured via the airbyte helm charts.
How
displayName
field with fallback toappName
displayName
toOIDC_DISPLAY_NAME
environment variableairbyte.auth.identity-provider.oidc.display-name
property@Value
annotation to inject the display name into the OIDC configurationidp.setDisplayName()
Recommended reading order
charts/airbyte/values.yaml
- Added example of setting the displayName fieldcharts/airbyte/templates/env-configmap.yaml
- Environment variable mappingairbyte-keycloak-setup/src/main/resources/application.yml
- sets Property mapping for displayname, and makes the log level configurable via env var.airbyte-keycloak-setup/src/main/java/io/airbyte/keycloak/setup/IdentityProvidersConfigurator.java
- takes advantage of the log level improvement in "3" to allow easy inspection of updates to provider definitions when log level is set to DEBUG.Can this PR be safely reverted and rolled back?