-
Notifications
You must be signed in to change notification settings - Fork 227
Open
Description
Currently kubeval doesn't seem to have a config file via which we can configure its flag in a yaml or json file
Idea is to have .kubeval.config.yaml which can look like following
k8s_version: string
strict_check: string || bool
force_color: string || bool
skip_kinds:
- pod
- deployment
- service
openshift_schema: string || bool
schemas:
k8s:
location: stringObviously it can be improved in terms of structuring and we can add more flags as a configuration in this yaml file.
And we can use this yaml file when triggering kubeval commands like
kubeval deployment.yaml --config <path_to_yaml>and this --config flag can be used with any other flags such as-for-d
I hope you got the intent and idea for making it happen 👍
Metadata
Metadata
Assignees
Labels
No labels