You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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 thematch
andexclude
blocks were unrelated to theclone
fields. In fact, the clone needs to be in an allowed namespace for the trigger in order for thesync
feature to work.Stemming from bug report here: kyverno/policies#1056
Slack discussion
kyverno/policies#1056
The text was updated successfully, but these errors were encountered: