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: add RBAC for watching CRDs by controller #796

Merged
merged 1 commit into from
May 16, 2023
Merged

Conversation

czeslavo
Copy link
Contributor

@czeslavo czeslavo commented May 16, 2023

What this PR does / why we need it:

Adds watch and list permissions for apiextensions.k8s.io.customresourcedefinitions to controller's ClusterRole to enable watching CRDs and start reconcilers dynamically once they get installed implemented in Kong/kubernetes-ingress-controller#3996.

Which issue this PR fixes

Closes Kong/kubernetes-ingress-controller#3029.

Special notes for your reviewer:

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

  • PR is based off the current tip of the main branch.
  • Changes are documented under the "Unreleased" header in CHANGELOG.md
  • New or modified sections of values.yaml are documented in the README.md
  • Commits follow the Kong commit message guidelines

@czeslavo czeslavo self-assigned this May 16, 2023
@czeslavo czeslavo added the enhancement New feature or request label May 16, 2023
@czeslavo czeslavo marked this pull request as ready for review May 16, 2023 13:31
@czeslavo czeslavo requested a review from a team as a code owner May 16, 2023 13:31
@czeslavo czeslavo merged commit f464cdd into main May 16, 2023
11 checks passed
@czeslavo czeslavo deleted the crds-cluster-role branch May 16, 2023 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Start custom resource controllers when the CRD appears after KIC startup
2 participants