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

[BUG] Incomplete Azure Policy add-on (gatekeeper) cleanup #3541

Open
weisdd opened this issue Mar 16, 2023 · 1 comment
Open

[BUG] Incomplete Azure Policy add-on (gatekeeper) cleanup #3541

weisdd opened this issue Mar 16, 2023 · 1 comment

Comments

@weisdd
Copy link

weisdd commented Mar 16, 2023

Describe the bug

While migrating from Azure Policy to the upstream gatekeeper, I discovered that two resources are not cleaned up when the Azure Policy add-on gets disabled, namely:

  • clusterrole gatekeeper-manager-role;
  • clusterrolebinding gatekeeper-manager-rolebinding;

To Reproduce
Steps to reproduce the behavior:

  1. Deploy an AKS cluster with Azure Policy add-on enabled;
  2. Disable the add-on;
  3. Run:
kubectl get clusterrole gatekeeper-manager-role
kubectl get clusterrolebinding gatekeeper-manager-rolebinding

Expected behavior
All resources are cleaned up.

Environment (please complete the following information):

  • CLI Version: 2.46.0
  • Kubernetes version: 1.25.5
@weisdd weisdd added the bug label Mar 16, 2023
@charleswool
Copy link
Contributor

This issued has been logged and is on the backlog, we will be happy to reach out for update when we have them.

@charleswool charleswool self-assigned this Mar 30, 2023
@ghost ghost added the action-required label Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants