Skip to content

Commit 9917dce

Browse files
committed
Add helm chart
1 parent 53e4b0b commit 9917dce

File tree

13 files changed

+968
-0
lines changed

13 files changed

+968
-0
lines changed

.github/workflows/style.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,33 @@ jobs:
3636
uses: hadolint/[email protected]
3737
with:
3838
dockerfile: Dockerfile
39+
40+
- name: Create ../results directory for SARIF report files
41+
shell: bash
42+
run: mkdir -p ../results
43+
44+
- name: Scan Helm with kube-linter
45+
uses: stackrox/[email protected]
46+
id: kube-linter-helm-scan
47+
with:
48+
directory: charts/stackrox-mcp
49+
format: sarif
50+
output-file: ../results/kube-linter.sarif
51+
# This allows the following upload-sarif action to still upload the results to your GitHub repo.
52+
continue-on-error: true
53+
54+
- name: Upload SARIF report files to GitHub
55+
uses: github/codeql-action/upload-sarif@v4
56+
57+
# Ensure the workflow eventually fails if files did not pass kube-linter checks.
58+
- name: Verify kube-linter-action succeeded
59+
shell: bash
60+
run: |
61+
echo "If this step fails, kube-linter found issues. Check the output of the scan step above."
62+
[[ "${{ steps.kube-linter-helm-scan.outcome }}" == "success" ]]
63+
64+
- name: Set up chart-testing
65+
uses: helm/[email protected]
66+
67+
- name: Run chart-testing (lint)
68+
run: ct lint charts/stackrox-mcp --validate-maintainers=false --all

charts/stackrox-mcp/.helmignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Patterns to ignore when packaging
2+
.git/
3+
.gitignore
4+
*.swp
5+
*.bak
6+
*.tmp
7+
.DS_Store

charts/stackrox-mcp/Chart.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
apiVersion: v2
2+
name: stackrox-mcp
3+
description: A Helm chart for StackRox Model Context Protocol (MCP) Server
4+
type: application
5+
version: 0.1.0
6+
appVersion: "dev"
7+
home: https://github.com/stackrox/stackrox-mcp
8+
sources:
9+
- https://github.com/stackrox/stackrox-mcp
10+
keywords:
11+
- stackrox
12+
- mcp
13+
- security
14+
- vulnerability

0 commit comments

Comments
 (0)