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: OIDC support #660

Merged
merged 32 commits into from
Aug 27, 2024
Merged

feat: OIDC support #660

merged 32 commits into from
Aug 27, 2024

Conversation

labrenbe
Copy link
Member

@labrenbe labrenbe commented Aug 5, 2024

Description

Closes #633

  • Add support for OIDC with/without TLS
  • Refactor authentication changing CRD to ClientAuthenticationDetails from operator-rs
  • Add debug profile for VS Code
  • Update documentation

Integration tests (nightly) were successful: https://testing.stackable.tech/view/02%20Operator%20Tests%20(custom)/job/nifi-operator-it-custom/10/

Definition of Done Checklist

  • Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
  • Please make sure all these things are done and tick the boxes

Author

Reviewer

Acceptance

@labrenbe labrenbe marked this pull request as ready for review August 6, 2024 22:41
@labrenbe labrenbe linked an issue Aug 6, 2024 that may be closed by this pull request
@sbernauer sbernauer self-requested a review August 14, 2024 11:16
Copy link
Member

@sbernauer sbernauer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only had the time to look at the Rust code so far, which looks very nice, awesome! Mostly nitpicking comments

.vscode/launch.json Outdated Show resolved Hide resolved
deploy/helm/nifi-operator/crds/crds.yaml Show resolved Hide resolved
docs/modules/nifi/pages/usage_guide/security.adoc Outdated Show resolved Hide resolved
docs/modules/nifi/pages/usage_guide/security.adoc Outdated Show resolved Hide resolved
docs/modules/nifi/pages/usage_guide/security.adoc Outdated Show resolved Hide resolved
rust/operator-binary/src/controller.rs Outdated Show resolved Hide resolved
rust/operator-binary/src/security/authentication.rs Outdated Show resolved Hide resolved
rust/crd/src/authentication.rs Outdated Show resolved Hide resolved
Copy link
Member

@sbernauer sbernauer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now had the time to look at the test 😅

tests/templates/kuttl/oidc/01_keycloak.yaml.j2 Outdated Show resolved Hide resolved
tests/templates/kuttl/oidc/01_keycloak.yaml.j2 Outdated Show resolved Hide resolved
tests/templates/kuttl/oidc/01_keycloak.yaml.j2 Outdated Show resolved Hide resolved
tests/templates/kuttl/oidc/03-install-test-nifi.yaml.j2 Outdated Show resolved Hide resolved
tests/templates/kuttl/oidc/01_keycloak.yaml.j2 Outdated Show resolved Hide resolved
tests/test-definition.yaml Outdated Show resolved Hide resolved
@labrenbe
Copy link
Member Author

The full integration test suite was success after the latest changes:
https://testing.stackable.tech/job/nifi-operator-it-custom/12/consoleFull

tests/templates/kuttl/oidc/20-assert.yaml Outdated Show resolved Hide resolved
tests/test-definition.yaml Outdated Show resolved Hide resolved
Copy link
Member

@sbernauer sbernauer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are getting close, only 3 conversations remaining :)

Copy link
Member

@sbernauer sbernauer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@labrenbe labrenbe added this pull request to the merge queue Aug 27, 2024
Merged via the queue into main with commit c61a0c0 Aug 27, 2024
31 checks passed
@labrenbe labrenbe deleted the feat/oidc-support branch August 27, 2024 13:36
@sbernauer sbernauer added release-note Denotes a PR that will be considered when it comes time to generate release notes. release/2024-11 labels Aug 27, 2024
@sbernauer
Copy link
Member

Updated feature tracker and labels

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release/2024-11 release-note Denotes a PR that will be considered when it comes time to generate release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OpenID Connect Support
3 participants