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

Unable to find custom azure policy under kubectl get constrainttemplates in AKS cluster #3513

Open
reddyavinash5 opened this issue Aug 26, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@reddyavinash5
Copy link

reddyavinash5 commented Aug 26, 2024

I have deployed a sample custom policy (audit pods with nginx images). I wrote the custom rego policy and enforced it via Azure Policy add-on. Azure Policy and gatekeeper pods are running. The audit functionality is working as expected as well. However, I do not see the custom policy in cluster's contrainsttemplates. Here is the screenshot

image

This is the policy I enforced via azure policy. I want to see this in cluster's constraint templates as well
image

@reddyavinash5 reddyavinash5 added the bug Something isn't working label Aug 26, 2024
Copy link

stale bot commented Oct 28, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 28, 2024
@ritazh
Copy link
Member

ritazh commented Oct 28, 2024

@anlandu Can you PTAL?

@stale stale bot removed the stale label Oct 28, 2024
@reddyavinash5
Copy link
Author

Hello, I am awaiting a response on this issue.

@anlandu
Copy link
Member

anlandu commented Oct 28, 2024

Yep definitely! @ritazh Can you please send the definition ID, the assignment ID, and the results of the command piped to a text file to me? If you don't want to add them to the issue, you can email them to [email protected]. @reddyavinash5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants