-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathvalues-bootstrapping.yaml
184 lines (181 loc) · 4.7 KB
/
values-bootstrapping.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
extensions_cfg:
defaults:
delivery_dashboard_url: http://localhost
delivery_service_url: http://delivery-service.delivery.svc.cluster.local:8080
artefact_enumerator:
components:
- component_name: ocm.software/ocm-gear
- component_name: ocm.software/ocmcli
sprints_relative_time_range:
days_from: -90
days_to: 150
bdba:
enabled: False # disable in default because of missing BDBA credentials
mappings:
- prefix: ''
bdba_secret_name: local
group_id: -1
cache_manager:
prefill_function_caches:
components:
- component_name: ocm.software/ocm-gear
- component_name: ocm.software/ocmcli
clamav:
enabled: False # disable in default because of high memory
mappings:
- prefix: ''
delivery_db_backup:
enabled: False # disable in default because of missing `component_name` and `ocm_repo_url`
component_name: ''
ocm_repo_url: ''
backup_retention_count: 1
sast:
enabled: True
issue_replicator:
enabled: False # disable in default because of missing `github_repository`
mappings:
- prefix: ''
github_repository: ''
findings:
- type: finding/vulnerability
categorisations: gardener
rescoring_ruleset: gardener
issues:
enable_assignees: False
- type: finding/license
categorisations:
- id: false-positive
display_name: false positive
value: 0
rescoring: manual
- id: other
display_name: other
value: 0
rescoring: manual
- id: blocker
display_name: violation
value: 16
allowed_processing_time: 0
rescoring: manual
selector:
license_names:
- sleepycat
issues:
enable_assignees: False
- type: finding/malware
categorisations:
- id: false-positive
display_name: false positive
value: 0
rescoring: manual
- id: other
display_name: other
value: 0
rescoring: manual
- id: blocker
display_name: malware
value: 16
allowed_processing_time: 0
rescoring: manual
selector:
malware_names:
- .*
issues:
enable_assignees: False
- type: finding/sast
categorisations:
- id: scan-exists
display_name: scan exists
value: 0
rescoring: manual
- id: scan-not-required
display_name: not required
value: 0
rescoring: manual
- id: missing-scan
display_name: missing-scan
value: 16
allowed_processing_time: 0
rescoring: automatic
selector:
sub_types:
- .*
rescoring_ruleset:
name: sast-rescoring
rules:
- match:
- component_name: github.com/.*
- component_name: ocm.software/.*
name: skip-scan-is-optional-for-opensource-components
operation: set-to-scan-not-required
sast_status: no-linter
sub_types:
- central-linting
issues:
enable_assignees: False
ocm_repo_mappings:
- prefix: ocm.software/ocmcli
repository: ghcr.io/open-component-model/ocm
- prefix: ''
repository: europe-docker.pkg.dev/gardener-project/releases
- prefix: ''
repository: europe-docker.pkg.dev/gardener-project/snapshots
secrets:
# bdba:
# local:
# api_url: ...
# token: ...
# group_ids:
# - ...
delivery-db:
local:
db_type: postgresql+psycopg
hostname: delivery-db.delivery.svc.cluster.local
port: 5432
username: postgres
password: password-123
github:
github_com:
api_url: https://api.github.com
http_url: https://github.com
repo_urls: ['.*']
username: ...
auth_token: ...
oauth-cfg:
local:
client_id: ...
client_secret: ...
github_secret_name: github_com
type: github
name: GitHub
oauth_url: https://github.com/login/oauth/authorize
token_url: https://github.com/login/oauth/access_token
role_bindings:
- roles:
- admin
subjects:
- type: github-org
name: ...
- type: github-team
name: ...
- type: github-user
name: ...
oci-registry:
local:
image_reference_prefixes:
- europe-docker.pkg.dev/gardener-project
privileges: readonly
username: ...
password: ...
signing-cfg:
local:
id: '0'
algorithm: RS256
private_key: |
-----BEGIN RSA PRIVATE KEY-----
...
-----END RSA PRIVATE KEY-----
public_key: |
-----BEGIN PUBLIC KEY-----
...
-----END PUBLIC KEY-----