Skip to content

Helmchart

Helmchart #3

Workflow file for this run

name: Validate k8s manifests
on:
pull_request:
paths:
- "k8s/**"
branches:
- main
types: [opened, synchronize]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Go environment
uses: actions/setup-go@v4
with:
go-version: '1.22'
- name: Install kubeconform
run: go install github.com/yannh/kubeconform/cmd/kubeconform@latest
- name: Validate Kubernetes manifests
run: |
kubeconform -strict -ignore-missing-schemas -summary k8s/