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

fix/docs-remove-validate-wrapper #587

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kushal9897
Copy link

Explanation

This PR fixes a documentation error in the Kyverno JSON docs. In the detailed example within kyverno-json/docs/policies/asserts.md, the assert: block is incorrectly nested under a validate: key. This extra nesting leads to parsing errors when users try to apply the example policy. By removing the extra validate: wrapper so that assert: is directly under the rule the example now correctly demonstrates how to use assertion trees. This change is a documentation fix only and does not affect any actual policy behavior.

Related issue

#342

Milestone of this PR

What type of PR is this

/kind documentation

Proposed Changes

Proof Manifests

Checklist

  • [*] I have read the contributing guidelines.
  • [*] I have read the PR documentation guide and followed the process including adding proof manifests to this PR.
  • This is a bug fix and I have added unit tests that prove my fix is effective.
  • This is a feature and I have added CLI tests that are applicable.
  • My PR needs to be cherry picked to a specific release branch which is .

Further Comments

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

Successfully merging this pull request may close these issues.

1 participant