Skip to content

Update solution.md #148

Update solution.md

Update solution.md #148

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