Add bundle, update RBAC, use root helm chart #3961
Merged
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.
Proposed changes
Problem: Creating the operator requires creating and validating a bundle to be used for certification
Solution: Created the bundle and made the necessary changes to get it to run on a local cluster.
The main changes required were related to RBAC. This included updating the Helm RBAC definition as we were mixing apiGroups in the rules which was causing validation problems in the Operator.
I also updated the operator Dockerfile to use the Helm chart from the root directory to avoid duplication and drift.
Testing: Installed OLM on my local kind cluster and created the catalog using the bundle. Created an instantiation of NGF and deployed a Gateway successfully. Ran the scorecard tests and validated the bundle.
Please focus on (optional): Note that automation will follow in a separate ticket. Scorecard validation is passing, but this is less rigorous that preflight (the RedHat certification tool) so there may be more work here later.
Closes #3908
Checklist
Before creating a PR, run through this checklist and mark each as complete.
Release notes
If this PR introduces a change that affects users and needs to be mentioned in the release notes,
please add a brief note that summarizes the change.