-
Notifications
You must be signed in to change notification settings - Fork 1
65 lines (56 loc) · 1.91 KB
/
kubelint.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: Kubelinter-check
on:
push:
branches:
- main
paths-ignore:
- docs/**
pull_request:
branches:
- main
workflow_dispatch: {}
env:
KUBELINTER_VERSION: "143183121"
jobs:
Kubelinter-check:
name: Run Kube-linter check
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Scan directory ./config/crd/ with kube-linter
uses: stackrox/[email protected]
with:
directory: config/crd
config: ${GITHUB_WORKSPACE}/.github/config_files/config_lint.yaml
version: $KUBELINTER_VERSION
- name: Scan directory ./config/default/ with kube-linter
uses: stackrox/[email protected]
with:
directory: config/default
config: ${GITHUB_WORKSPACE}/.github/config_files/config_lint.yaml
version: $KUBELINTER_VERSION
- name: Scan directory ./config/manager/ with kube-linter
uses: stackrox/[email protected]
with:
directory: config/manager
config: ${GITHUB_WORKSPACE}/.github/config_files/config_lint.yaml
version: $KUBELINTER_VERSION
- name: Scan directory ./config/manifests/ with kube-linter
uses: stackrox/[email protected]
with:
directory: config/manifests
config: ${GITHUB_WORKSPACE}/.github/config_files/config_lint.yaml
version: $KUBELINTER_VERSION
- name: Scan directory ./config/samples/ with kube-linter
uses: stackrox/[email protected]
with:
directory: config/samples
config: ${GITHUB_WORKSPACE}/.github/config_files/config_lint.yaml
version: $KUBELINTER_VERSION
- name: Scan directory ./config/scorecard/ with kube-linter
uses: stackrox/[email protected]
with:
directory: config/scorecard
config: ${GITHUB_WORKSPACE}/.github/config_files/config_lint.yaml
version: $KUBELINTER_VERSION