Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/instrumenta/kubeval-action
A GitHub Action for using Kubeval
https://github.com/instrumenta/kubeval-action
actions instrumenta kubernetes
Last synced: 3 months ago
JSON representation
A GitHub Action for using Kubeval
- Host: GitHub
- URL: https://github.com/instrumenta/kubeval-action
- Owner: instrumenta
- License: other
- Created: 2019-08-18T16:43:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-01T09:06:30.000Z (over 4 years ago)
- Last Synced: 2024-04-24T16:46:30.050Z (9 months ago)
- Topics: actions, instrumenta, kubernetes
- Size: 1000 Bytes
- Stars: 31
- Watchers: 5
- Forks: 18
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kubeval
A [GitHub Action](https://github.com/features/actions) for using [Kubeval](https://github.com/instrumenta/kubeval) in your workflows.
You can use the action as follows:
```yaml
on: push
name: Validate
jobs:
kubeval:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: test
uses: instrumenta/kubeval-action@master
```By default the action will recursively scan for YAML files and validate them as Kubernetes obejcts. You can configure this with the parameters.
The Kubeval Action has a number of properties which map to the parameters for Kubeval itself. These are
passed to the action using `with`.| Property | Default | Description |
| --- | --- | --- |
| files | . | Which files or directories to validate |
| output | stdout | How to format the output from Conftest (stdout, json or tap) |
| openshift | false | Whether or not to use the OpenShift schemas rather than the upstread Kubernetes ones |
| strict | true | Whether ot not to fail for additional properties in objects |
| ignore_missing_schemas | true | Whether to fail if unknown resources are found |
| version | master | Which version of Kubernetes to validate against |