Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat, docs: merge KF-5546-oidc-provider-dev-branch into main #168

Merged
merged 2 commits into from
Jul 26, 2024

Conversation

DnPlas
Copy link
Contributor

@DnPlas DnPlas commented Jul 26, 2024

This PR introduces the following changes in main:

DnPlas added 2 commits July 26, 2024 11:48
Add a section describing how this charm can only be used as an OIDC client when Dex and
Charmed Kubeflow are deployed in the model; otherwise it will fail, as there are multiple
parts of this charm's code that are tightly coupled to those.

Fixes #159
#163)

This commit integrates the `oidc-gatekeeper` charm with `dex-auth` via the `dex-oidc-config` interface.

`dex-auth` (see canonical/dex-auth-operator#203) recently introduced the aforementioned interface, which will help us remove the `public-url` configuration option as the main way of configuring oidc-gatekeeper's OIDC_AUTH_PROVIDER env variable. The new relation provides all the information that is required for setting that env variable, so this charm and its users should not change it.

The changes in this PR include:

* Removing the `public-url` configuration option entirely (a backwards compatible solution is not required in this case because dex-auth already has it) -> this tackles #157
* Removing all traces of the public-url from the charm code and test code
* Integrating with the new interface and use the relation data to render were needed -> this tackles #156 
* Adding the `dex_oidc_config` library to this charm so the interface is handled by it
* Adding some extra requirements for the library to work


Fixes #156 
Fixes #157
@DnPlas DnPlas requested a review from a team as a code owner July 26, 2024 10:39
@DnPlas DnPlas merged commit 294d6c1 into main Jul 26, 2024
7 checks passed
@DnPlas DnPlas deleted the KF-5536-oidc-provider-dev-branch branch July 26, 2024 11:22
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.

2 participants