website icon indicating copy to clipboard operation
website copied to clipboard

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

Open eitah opened this issue 7 months ago • 2 comments

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: https://github.com/kyverno/policies/issues/1056

Slack discussion

https://github.com/kyverno/policies/issues/1056

eitah avatar Jul 01 '24 14:07 eitah