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

added overlay-schema to readme.md #93

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,16 @@ jobs:
run: kubectl-validate ./k8s-manifest/ --version 1.23
```

## overlay-schemas
swastik959 marked this conversation as resolved.
Show resolved Hide resolved

The --overlay-schemas option enables users to apply JSON patches onto resource schemas before they undergo validation. This feature allows for customizing the behavior of schema validation according to specific requirements.
swastik959 marked this conversation as resolved.
Show resolved Hide resolved

### Usage
swastik959 marked this conversation as resolved.
Show resolved Hide resolved

```sh
kubectl-validate --overlay-schemas <patch_file>
```

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the extra empty line.

## Docker

This project doesn't have a native docker image (yet), but you can use the given Dockerfile to build one.
Expand Down