forked from kubearmor/KubeArmor
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 982 Bytes
/
ci-test-helm-charts.yml
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
name: ci-test-helm-charts
on:
push:
branches: [main]
paths:
- "deployments/helm/**"
- ".github/workflows/ci-test-helm-charts.yml"
pull_request:
branches: [main]
paths:
- "deployments/helm/**"
- ".github/workflows/ci-test-helm-charts.yml"
# Declare default permissions as read only.
permissions: read-all
jobs:
lint:
name: Helm Chart Tests / ubuntu 20.04
runs-on: "ubuntu-20.04"
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-go@v5
with:
go-version-file: 'KubeArmor/go.mod'
- uses: azure/setup-helm@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: helm lint
run: |
helm lint ./deployments/helm/KubeArmor
helm lint ./deployments/helm/KubeArmorOperator
- name: Validate helm environment template values
run: |
./.github/workflows/helm-validate-values.sh