-
Notifications
You must be signed in to change notification settings - Fork 203
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
Fix RBAC issues with postgresqluser CRD #1131
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Looks like it is in the current PR for MySQL too which is in review. We should remove it there too when/if you fix that delete bug!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed on AKS and verify the creation of posgresqlserver/database/firwallrul/user successfully.
@jananivMS Janani, I can now successfully deploy the CRD on AKS and verify the creation of postgresqlserver/database/firewallrule/user. But seems the PR can only be reviewed with at least one of the code owners' approval. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
It looks like the Postgresqluser PR added a kubebuilder directive for shortname that defined a different name for the CRD. This is causing issues when making helm chart manifests and deploying to AKS cluster.
Removing this directive now as we are looking at shortnames in a different PR.
After this, I still have RBAC issues with this CRD. So had to enable RBAC through the kubebuilder directive in main.go. This aberration seems mostly because of not using Kubebuilder to generate the CRD