-
Notifications
You must be signed in to change notification settings - Fork 472
47 lines (44 loc) · 1.12 KB
/
helm.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Validate Chart
on:
push:
paths:
- chart/**
- contrib/validate_chart.sh
- contrib/lint_chart.sh
- .github/workflows/helm.yaml
pull_request:
paths:
- chart/**
- contrib/validate_chart.sh
- contrib/lint_chart.sh
- .github/workflows/helm.yaml
jobs:
lint-chart:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: alexellis/arkade-get@master
with:
helm: latest
# - uses: azure/setup-helm@v3
- name: Helm Lint
run: ./contrib/lint_chart.sh
kubeval-chart:
runs-on: ubuntu-latest
needs:
- lint-chart
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: alexellis/arkade-get@master
with:
kubeval: latest
# - uses: lra/setup-kubeval@v1
# with:
# version: v0.16.1
- name: Run kubeval
env:
KUBEVAL_SCHEMA_LOCATION: "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/"
KUBERNETES_VERSION: v1.26.11 v1.27.1 1.28.4
run: ./contrib/lint_chart.sh