Update solution.md #148
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate Manifests | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Validate Manifests | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Set up Kubeval | |
run: | | |
wget https://github.com/instrumenta/kubeval/releases/latest/download/kubeval-linux-amd64.tar.gz | |
tar xf kubeval-linux-amd64.tar.gz | |
sudo cp kubeval /usr/local/bin | |
- name: Validate Against Kubernetes Schema | |
run: kubeval -v 1.26.1 -s https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master -d . -i .github/workflows -i exercises/15-helm-build-chart -i exercises/16-api-deprecation/deployment.yaml -i exercises/20-crd -i exercises/25-configmap/application.yaml |