File tree Expand file tree Collapse file tree 5 files changed +156
-8
lines changed Expand file tree Collapse file tree 5 files changed +156
-8
lines changed Original file line number Diff line number Diff line change 55 pull_request :
66 branches :
77 - beta
8+ - main
89 paths :
910 - ' charts/**'
1011 push :
3334 - name : Set up Helm
3435 uses : azure/setup-helm@v4
3536 with :
36- version : v3.5.0
37+ version : v3.13.3
3738
3839 - uses : actions/setup-python@v4
3940 with :
5657 run : ct lint --target-branch ${{ github.event.repository.default_branch }} --chart-dirs charts
5758
5859 - name : Create kind cluster
59- if : steps.list-changed.outputs.changed == 'true' || github.ref_name == 'main'
60+ if : steps.list-changed.outputs.changed == 'true'
60616162
6263 - name : Run chart-testing (install)
63- if : steps.list-changed.outputs.changed == 'true' || github.ref_name == 'main'
64- run : ct install --target-branch ${{ github.event.repository.default_branch }} --chart-dirs charts
64+ if : steps.list-changed.outputs.changed == 'true'
65+ run : |
66+ DRY_RUN=${{ github.ref_name == 'beta' && 'false' || (github.ref_name == 'main' && 'false' || 'true') }}
67+ if [ "$DRY_RUN" = "true" ]; then
68+ echo "Running in dry-run mode"
69+ ct install --target-branch ${{ github.event.repository.default_branch }} --chart-dirs charts --helm-extra-args '--dry-run --debug'
70+ else
71+ echo "Running in install mode"
72+ ct install --target-branch ${{ github.event.repository.default_branch }} --chart-dirs charts
73+ fi
Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ type: application
2020# This is the chart version. This version number should be incremented each time you make changes
2121# to the chart and its templates, including the app version.
2222# Versions are expected to follow Semantic Versioning (https://semver.org/)
23- version : 0.1.2
23+ version : 0.1.3
2424
2525# This is the version number of the application being deployed. This version number should be
2626# incremented each time you make changes to the application. Versions are not expected to
2727# follow Semantic Versioning. They should reflect the version the application is using.
2828# It is recommended to use it with quotes.
29- appVersion : " v0.1.2 "
29+ appVersion : " v0.1.3-beta.0 "
Original file line number Diff line number Diff line change 1- ---
21{{- if .Values.configMap.enabled -}}
32apiVersion : v1
43kind : ConfigMap
Original file line number Diff line number Diff line change 1- ---
21{{- if .Values.sysdig.secrets.create -}}
32apiVersion : v1
43kind : Secret
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://json-schema.org/draft-07/schema#" ,
3+ "title" : " Values" ,
4+ "type" : " object" ,
5+ "properties" : {
6+ "sysdig" : {
7+ "$ref" : " #/$defs/SysdigConfig"
8+ },
9+ "oauth" : {
10+ "$ref" : " #/$defs/OauthConfig"
11+ }
12+ },
13+ "required" : [
14+ " configMap" ,
15+ " sysdig"
16+ ],
17+ "$defs" : {
18+ "SysdigConfig" : {
19+ "type" : " object" ,
20+ "properties" : {
21+ "host" : {
22+ "type" : [ " string" , " null" ],
23+ "description" : " Sysdig Tenant Host" ,
24+ "examples" : [
25+ " https://us2.app.sysdig.com" ,
26+ " https://eu1.app.sysdig.com"
27+ ]
28+ },
29+ "mcp" : {
30+ "type" : " object" ,
31+ "properties" : {
32+ "transport" : {
33+ "type" : " string" ,
34+ "enum" : [
35+ " streamable-http" ,
36+ " sse" ,
37+ " stdio"
38+ ],
39+ "description" : " The transport protocol for the Sysdig MCP"
40+ }
41+ },
42+ "required" : [
43+ " transport"
44+ ]
45+ },
46+ "secrets" : {
47+ "type" : " object" ,
48+ "properties" : {
49+ "create" : {
50+ "type" : " boolean" ,
51+ "description" : " Whether to create the secret"
52+ },
53+ "secureAPIToken" : {
54+ "type" : [
55+ " string" ,
56+ " null"
57+ ],
58+ "description" : " The API Token to access Sysdig Secure" ,
59+ "examples" : [
60+ " 12345678-1234-1234-1234-123456789012"
61+ ]
62+ }
63+ },
64+ "required" : [
65+ " create" ,
66+ " secureAPIToken"
67+ ]
68+ }
69+ },
70+ "required" : [
71+ " host" ,
72+ " mcp" ,
73+ " secrets"
74+ ],
75+ "additionalProperties" : false
76+ },
77+ "OauthConfig" : {
78+ "type" : " object" ,
79+ "properties" : {
80+ "secrets" : {
81+ "type" : " object" ,
82+ "properties" : {
83+ "create" : {
84+ "type" : " boolean" ,
85+ "description" : " Whether to create the secret"
86+ },
87+ "clientId" : {
88+ "type" : [
89+ " string" ,
90+ " null"
91+ ],
92+ "description" : " The Client ID for the OAuth application" ,
93+ "examples" : [
94+ " my-client-id"
95+ ]
96+ },
97+ "clientSecret" : {
98+ "type" : [
99+ " string" ,
100+ " null"
101+ ],
102+ "description" : " The Client Secret for the OAuth application" ,
103+ "examples" : [
104+ " my-client-secret"
105+ ]
106+ }
107+ },
108+ "required" : [
109+ " create" ,
110+ " clientId" ,
111+ " clientSecret"
112+ ]
113+ }
114+ },
115+ "required" : [
116+ " secrets"
117+ ],
118+ "additionalProperties" : false
119+ },
120+ "AppConfig" : {
121+ "type" : " object" ,
122+ "properties" : {
123+ "enabled" : {
124+ "type" : " boolean" ,
125+ "description" : " Whether to create the application configuration"
126+ },
127+ "app_config" : {
128+ "type" : [
129+ " string" ,
130+ " null"
131+ ],
132+ "description" : " The application configuration in YAML format"
133+ }
134+ },
135+ "required" : [
136+ " secrets"
137+ ],
138+ "additionalProperties" : false
139+ }
140+ }
141+ }
You can’t perform that action at this time.
0 commit comments