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

Any sample policy for Istio Authorization policies #580

Closed
nischay30 opened this issue Apr 19, 2023 · 4 comments
Closed

Any sample policy for Istio Authorization policies #580

nischay30 opened this issue Apr 19, 2023 · 4 comments

Comments

@nischay30
Copy link

I am trying to create a Kyverno policy for the Istio Authorization policy which enforces that "from" and "to" block should be present , otherwise it should be rejected.
And , each "To" block should have a port defined and each "From" block should only use "principals" and "requestPrincipals" and no "*" allowed.

I have tried multiple ways but no luck so far. Any documentation or samples would help

@chipzoller
Copy link
Member

Have you seen these?

https://kyverno.io/policies/?policytypes=Istio

@nischay30
Copy link
Author

Yeah, had seen these and tried different combinations but couldn't really build a policy out of it

@chipzoller
Copy link
Member

Please file a policy request using the appropriate template.

@nischay30
Copy link
Author

Opened -#582

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants