Skip to content

fix/docs-remove-validate-wrapper#587

Open
kushal9897 wants to merge 1 commit into
kyverno:mainfrom
kushal9897:fix_docs
Open

fix/docs-remove-validate-wrapper#587
kushal9897 wants to merge 1 commit into
kyverno:mainfrom
kushal9897:fix_docs

Conversation

@kushal9897

Copy link
Copy Markdown

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

Signed-off-by: kushal9897 <kushalag2580@gmail.com>
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