chore: keep litellm/postgres/qdrant off vx* nodes #129
This file contains hidden or 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 K8s Manifests | |
| on: [push, pull_request] | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install kubeval | |
| run: | | |
| wget https://github.com/instrumenta/kubeval/releases/latest/download/kubeval-linux-amd64.tar.gz | |
| tar xf kubeval-linux-amd64.tar.gz | |
| sudo mv kubeval /usr/local/bin | |
| - name: Validate manifests | |
| run: | | |
| find base overlays models namespaces secrets -name "*.yaml" -type f | xargs kubeval --ignore-missing-schemas | |
| - name: Install kustomize | |
| run: | | |
| curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash | |
| - name: Build kustomize | |
| run: | | |
| ./kustomize build overlays/dev | |
| ./kustomize build overlays/staging | |
| ./kustomize build overlays/prod |