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

[Enhancement] Generate documentation should warn about syncing a secret in an Excluded namespace #1298

Open
eitah opened this issue Jul 1, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@eitah
Copy link

eitah commented Jul 1, 2024

Description

https://kyverno.io/docs/writing-policies/generate/#clone-examples does not mention that excluded namespaces for clone secrets are unable to sync properly. This is an issue because we copied the sync secrets policy expecting that the match and exclude blocks were unrelated to the clone fields. In fact, the clone needs to be in an allowed namespace for the trigger in order for the sync feature to work.

Stemming from bug report here: kyverno/policies#1056

Slack discussion

kyverno/policies#1056

@eitah eitah added the enhancement New feature or request label Jul 1, 2024
Copy link

welcome bot commented Jul 1, 2024

Thanks for opening your first issue here! Be sure to follow the issue template!

@eitah
Copy link
Author

eitah commented Jul 1, 2024

It's already called out somewhat here https://kyverno.io/docs/troubleshooting/
but I'd like to make the association more direct

Check and ensure you aren’t creating a resource that is either excluded from Kyverno’s processing by default, or that it hasn’t been created in an excluded Namespace. Kyverno uses a ConfigMap by default called kyverno in the Kyverno Namespace to filter out some of these things. The key name is resourceFilters and more details can be found here.

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

No branches or pull requests

1 participant