Skip to content

Conversation

@sbernauer
Copy link
Member

@sbernauer sbernauer commented Dec 29, 2025

Description

Fixes #878

The code should be cleaned up (e.g. use the helper functions on stackable_operator::commons::opa::OpaConfig), but I decided to keep this fix small.

Adopted the kuttl test accordingly

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

  • Changes are OpenShift compatible
  • CRD changes approved
  • CRD documentation for all fields, following the style guide.
  • Helm chart can be installed and deployed operator works
  • Integration tests passed (for non trivial changes)
  • Changes need to be "offline" compatible
  • Links to generated (nightly) docs added
  • Release note snippet added

Reviewer

  • Code contains useful comments
  • Code contains useful logging statements
  • (Integration-)Test cases added
  • Documentation added or updated. Follows the style guide.
  • Changelog updated
  • Cargo.toml only contains references to git tags (not specific commits or branches)

Acceptance

  • Feature Tracker has been updated
  • Proper release label has been added
  • Links to generated (nightly) docs added
  • Release note snippet added
  • Add type/deprecation label & add to the deprecation schedule
  • Add type/experimental label & add to the experimental features tracker

Release notes

Fixed

The operator now utilizes the .spec.clusterConfig.authorization.opa.package property instead of hard-coding the package name to nifi

@sbernauer sbernauer self-assigned this Dec 29, 2025
@sbernauer sbernauer added type/bug release-note Denotes a PR that will be considered when it comes time to generate release notes. labels Dec 29, 2025
@sbernauer sbernauer moved this to Development: Waiting for Review in Stackable Engineering Dec 29, 2025
@maltesander maltesander self-requested a review January 5, 2026 08:55
@maltesander maltesander moved this from Development: Waiting for Review to Development: In Review in Stackable Engineering Jan 5, 2026
Copy link
Member

@maltesander maltesander left a comment

Choose a reason for hiding this comment

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

Thanks, works.

Co-authored-by: Malte Sander <[email protected]>
@sbernauer sbernauer requested a review from maltesander January 5, 2026 10:42
Copy link
Member

@maltesander maltesander left a comment

Choose a reason for hiding this comment

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

LGTM!

@sbernauer sbernauer added this pull request to the merge queue Jan 5, 2026
@sbernauer sbernauer moved this from Development: In Review to Development: Done in Stackable Engineering Jan 5, 2026
Merged via the queue into main with commit f71e4db Jan 5, 2026
12 checks passed
@sbernauer sbernauer deleted the fix/opa-package-name branch January 5, 2026 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note Denotes a PR that will be considered when it comes time to generate release notes. type/bug

Projects

Status: Development: Done

Development

Successfully merging this pull request may close these issues.

Operator does not respect user provided package name for OPA

3 participants