Skip to content

Conversation

Conall-airbyte
Copy link
Contributor

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

  1. Helm values.yaml: Added displayName field with fallback to appName
  2. ConfigMap template: Maps displayName to OIDC_DISPLAY_NAME environment variable
  3. Application config: Maps environment variable to airbyte.auth.identity-provider.oidc.display-name property
  4. Code injection: Uses @Value annotation to inject the display name into the OIDC configuration
  5. Keycloak setup: Sets the display name on the identity provider via idp.setDisplayName()

Recommended reading order

  1. charts/airbyte/values.yaml - Added example of setting the displayName field
  2. charts/airbyte/templates/env-configmap.yaml - Environment variable mapping
  3. airbyte-keycloak-setup/src/main/resources/application.yml - sets Property mapping for displayname, and makes the log level configurable via env var.
  4. https://github.com/airbytehq/airbyte-platform/blob/f75fd45dfe3c6c39aa118cb8c980d2a549f51c80/airbyte-commons-auth/src/main/kotlin/io/airbyte/commons/auth/config/OidcConfigFactory.kt#L25 - This function handles value injection (no changes here, but listed for the full picture of what's happening.)
  5. 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?

  • YES 💚
  • NO ❌

Tybot204 and others added 4 commits June 23, 2025 15:56
## What
<!--
* Describe what the change is solving.
* It helps to add screenshots if it affects the frontend.
-->

Issue: airbytehq/airbyte#54176

Current Helm `values.yml` documentation and defaults have old unused
values for `externalDatabase`, potentially leading to confusion when
setting up or upgrading Helm chart versions.

## How
<!--
* Describe how code changes achieve the solution.
-->

This removes `externalDatabase` from all defaults and documentation.
These values are not used anywhere in the project outside of the changes
files in this PR. Instead `global.database` should be used instead to
configure external PostgreSQL connections.

## Can this PR be safely reverted and rolled back?
<!--
* If you know that your be safely rolled back, check YES.*
* If that is not the case (e.g. a database migration), check NO.
* If unsure, leave it blank.*
-->
- [x] YES 💚
- [ ] NO ❌

Co-authored-by: perangel <[email protected]>
…ngIdp

Shows IDP field values before and after updateExistingIDP makes changes, via debug logs
@CLAassistant
Copy link

CLAassistant commented Jun 23, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

Your branch is not currently up-to-date with main. Please update your branch before attempting to snapshot your PR.

1 similar comment
Copy link
Contributor

Your branch is not currently up-to-date with main. Please update your branch before attempting to snapshot your PR.

@Conall-airbyte
Copy link
Contributor Author

/create-oss-pr

@cgardens
Copy link
Contributor

Hi, we've decided to stop accepting PRs in this repo, so we can focus on supporting our connector contributors. I'm going to close this issue. We appreciate your work here. Please feel free to post an issue in https://github.com/airbytehq/airbyte.

@cgardens cgardens closed this Jul 31, 2025
Copy link
Contributor

Your branch is not currently up-to-date with main. Please update your branch before attempting to snapshot your PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants