Skip to content

ci(kubernetes-ci): use kubectl-validate instead of Azure/k8s-lint #59

ci(kubernetes-ci): use kubectl-validate instead of Azure/k8s-lint

ci(kubernetes-ci): use kubectl-validate instead of Azure/k8s-lint #59

Workflow file for this run

name: CI - Kubernetes
on:
pull_request:
push:
branches:
- main
jobs:
lint:
name: Lint manifests
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Find manifests
id: manifests
shell: bash
run: |
echo "manifests<<EOF" >> $GITHUB_OUTPUT
python3 scripts/find_manifests.py >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- name: Lint manifests
uses: sid-maddy/k8s-lint@897009c442e242ea782988ddcc4c9dded9af86ba
with:
manifests: ${{ steps.manifests.outputs.manifests }}