Skip to content

Commit 0344458

Browse files
author
Nikolas De Giorgis
authored
Use new kubelinter action version and pin kubelinter (#733)
1 parent 4b2e312 commit 0344458

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

.github/config_files/config_lint.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@ checks:
1212
- "no-liveness-probe"
1313
- "no-readiness-probe"
1414
- "use-namespace"
15-
- "non-isolated-pod"

.github/config_files/config_lint_clusterwide.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@ checks:
1616
- "use-namespace"
1717
- "access-to-secrets"
1818
- "access-to-create-pods"
19-
- "non-isolated-pod"

.github/config_files/config_lint_openshift.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@ checks:
1515
- "run-as-non-root"
1616
- "no-read-only-root-fs"
1717
- "use-namespace"
18-
- "non-isolated-pod"

.github/workflows/kubelinter-check.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,29 @@ jobs:
2020
uses: actions/checkout@v2
2121

2222
- name: Scan directory ./deploy/clusterwide/ with kube-linter
23-
uses: stackrox/kube-linter-action@v1
23+
uses: stackrox/kube-linter-action@v1.0.3
2424
with:
2525
directory: deploy/clusterwide
2626
config: ${GITHUB_WORKSPACE}/.github/config_files/config_lint_clusterwide.yaml
27+
version: "48442350" # Note: This is the id for release 0.2.3 returned from api.github.com/repos/stackrox/kube-linter/releases
2728

2829
- name: Scan directory ./deploy/openshift/ with kube-linter
29-
uses: stackrox/kube-linter-action@v1
30+
uses: stackrox/kube-linter-action@v1.0.3
3031
with:
3132
directory: deploy/openshift
3233
config: ${GITHUB_WORKSPACE}/.github/config_files/config_lint_openshift.yaml
34+
version: "48442350"
3335

3436
- name: Scan directory ./config/manager/ with kube-linter
35-
uses: stackrox/kube-linter-action@v1
37+
uses: stackrox/kube-linter-action@v1.0.3
3638
with:
3739
directory: config/manager/manager.yaml
3840
config: ${GITHUB_WORKSPACE}/.github/config_files/config_lint.yaml
41+
version: "48442350"
3942

4043
- name: Scan directory ./config/samples/ with kube-linter
41-
uses: stackrox/kube-linter-action@v1
44+
uses: stackrox/kube-linter-action@v1.0.3
4245
with:
4346
directory: config/samples
4447
config: ${GITHUB_WORKSPACE}/.github/config_files/config_lint.yaml
48+
version: "48442350"

0 commit comments

Comments
 (0)