forked from eclipse-tractusx/item-relationship-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml
325 lines (297 loc) · 11.2 KB
/
values.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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
irs-helm:
#####################
# IRS Configuration #
#####################
image:
repository: ghcr.io/catenax-ng/irs-api
tag: PR-521
bpn: BPNL00000001CRHK
ingress:
enabled: true
className: "nginx"
annotations:
nginx.ingress.kubernetes.io/ssl-passthrough: "false"
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
hosts:
- host: "irs-dil.dev.demo.catena-x.net"
paths:
- path: /
pathType: ImplementationSpecific
tls:
- hosts:
- "irs-dil.dev.demo.catena-x.net"
secretName: tls-secret
minioUser: <path:traceability-irs/data/dev/minio#minioUser>
minioPassword: <path:traceability-irs/data/dev/minio#minioPassword>
oauth2:
clientTokenUri: <path:traceability-irs/data/dil/oauth2#tokenUri>
semantics:
clientId: <path:traceability-irs/data/oauth2/semantics#clientId>
clientSecret: <path:traceability-irs/data/oauth2/semantics#clientSecret>
discovery:
clientId: <path:traceability-irs/data/oauth2/discovery#clientId>
clientSecret: <path:traceability-irs/data/oauth2/discovery#clientSecret>
bpdm:
clientId: <path:traceability-irs/data/oauth2/bpdm#clientId>
clientSecret: <path:traceability-irs/data/oauth2/bpdm#clientSecret>
edc:
controlplane:
apikey:
secret: <path:traceability-irs/data/dev/controlplane#apiKey>
config:
override: true
content:
# Config overriding Spring Boot configuration
server:
trustedPort: 8181
irs:
apiUrl: "https://irs-dil.dev.demo.catena-x.net"
security:
api:
keys:
admin: <path:traceability-irs/data/dil/irs#apiKeyAdmin>
regular: <path:traceability-irs/data/dil/irs#apiKeyRegular>
blobstore:
endpoint: "http://irs-dil-minio:9000"
accessKey: "${MINIO_ACCESS_KEY}" # taken from secret ENV
secretKey: "${MINIO_SECRET_KEY}" # taken from secret ENV
policystore:
persistence:
endpoint: "http://irs-dil-minio:9000"
accessKey: "${MINIO_ACCESS_KEY}" # taken from secret ENV
secretKey: "${MINIO_SECRET_KEY}" # taken from secret ENV
spring:
security:
oauth2:
client:
registration:
common:
client-id: "${OAUTH2_CLIENT_ID}" # taken from secret ENV
client-secret: "${OAUTH2_CLIENT_SECRET}" # taken from secret ENV
portal:
client-id: ${PORTAL_OAUTH2_CLIENT_ID} # taken from secret ENV
client-secret: ${PORTAL_OAUTH2_CLIENT_SECRET} # taken from secret ENV
provider:
common:
token-uri: "<path:traceability-irs/data/dil/oauth2#tokenUri>"
portal:
token-uri: "<path:traceability-irs/data/dil/oauth2#tokenUri>"
digitalTwinRegistry:
descriptorEndpoint: "https://irs-aas-registry.dev.demo.catena-x.net/semantics/registry/api/v3/shell-descriptors/{aasIdentifier}"
shellLookupEndpoint: "https://irs-aas-registry.dev.demo.catena-x.net/semantics/registry/api/v3/lookup/shells?assetIds={assetIds}"
shellDescriptorTemplate: "/shell-descriptors/{aasIdentifier}"
lookupShellsTemplate: "/lookup/shells?assetIds={assetIds}"
type: "decentral"
discovery:
discoveryFinderUrl: "https://discovery-mock.dev.demo.catena-x.net/api/administration/connectors/discovery/search"
semanticshub:
url: "https://semantics.int.demo.catena-x.net/hub/api/v1/models"
pageSize: 100
modelJsonSchemaEndpoint: "https://semantics.int.demo.catena-x.net/hub/api/v1/models/{urn}/json-schema"
defaultUrns: ""
bpdm:
bpnEndpoint: "https://partners-pool.int.demo.catena-x.net/api/catena/legal-entities/{partnerId}?idType={idType}"
irs-edc-client:
callback-url: "http://irs-dil-irs-helm:8181/internal/endpoint-data-reference"
controlplane:
request-ttl: "PT10M"
endpoint:
data: "http://irs-dil-tractusx-connector-controlplane:8081/management"
catalog: "/v2/catalog/request"
contract-negotiation: "/v2/contractnegotiations"
transfer-process: "/v2/transferprocesses"
state-suffix: "/state"
provider-suffix: "/api/v1/dsp"
catalog-limit: 1000
catalog-page-size: 50
api-key:
header: "X-Api-Key"
secret: ${EDC_API_KEY_SECRET:} # taken from secret ENV
submodel:
request-ttl: "PT10M"
urn-prefix: "/urn"
catalog:
acceptedPolicies:
- leftOperand: "PURPOSE"
operator: "eq"
rightOperand: "ID 3.1 Trace"
- leftOperand: "FrameworkAgreement.traceability"
operator: "eq"
rightOperand: "active"
- leftOperand: "Membership"
operator: "eq"
rightOperand: "active"
discoveryFinderClient:
cacheTTL: "PT24H"
connectorEndpointService:
cacheTTL: "PT24H"
ess:
localBpn: "BPNL00000001CRHK"
localEdcEndpoint: ""
assetsPath: "/management/v3/assets"
policydefinitionsPath: "/management/v2/policydefinitions"
contractdefinitionsPath: "/management/v2/contractdefinitions"
irs:
url: "https://irs-dil.dev.demo.catena-x.net"
discovery:
oAuthClientId: portal
integrity:
publicKeyCert: |
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6h9Uz0RH9xwlb/rqSws2
JccIs817v1wfgLDGDY36YwzKVBNm+5IUJvCwLeMRZJ6otUFYQUUInQgM6MgW90z7
k9SjUB7UxiSqZFfwIF6uanN0HisEo5dCfGSzLQBIrg1nw/CPKGf8Vn5kZ/+5aBl3
dLu8pht+29yALFNZxThmnUx2rmTB9fH0SKtgY9HxBzQlbYuiwhqgbpnWTgCQb+F5
6Q3TnvXyG3DkOMYvzdle/QLPm+ywSf1FKp/qOaX483yVN5GpkWkQJwA5fsBGFkmT
7hmisXEyTiIps5yR/scAOjj7evQk6+FqRksPr8mOwYwBU7F6LjnJRtg9WeHZn0CA
GQIDAQAB
-----END PUBLIC KEY-----
resources:
limits:
cpu: 1
memory: 1.5Gi
requests:
cpu: 100m
memory: 1.5Gi
#######################
# Minio Configuration #
#######################
minio:
rootUser: <path:traceability-irs/data/dev/minio#minioUser>
rootPassword: <path:traceability-irs/data/dev/minio#minioPassword>
serviceAccount:
name: "irs-dil-minio-sa"
tractusx-connector:
install:
postgresql: false
vault: false
participant:
id: <path:traceability-irs/data/dev/controlplane#participantId>
controlplane:
# SSI configuration
ssi:
miw:
url: <path:traceability-irs/data/dev/controlplane#ssi.miw.url>
authorityId: <path:traceability-irs/data/dev/controlplane#ssi.miw.authorityId>
oauth:
tokenurl: <path:traceability-irs/data/dev/controlplane#ssi.oauth.tokenurl>
client:
id: <path:traceability-irs/data/dil/controlplane#ssi.oauth.client.id>
secretAlias: dil-consumer-miw-secret
ingresses:
- enabled: true
hostname: "irs-dil-consumer-controlplane.dev.demo.catena-x.net"
annotations:
nginx.ingress.kubernetes.io/ssl-passthrough: "false"
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
endpoints:
- protocol
- management
tls:
enabled: true
secretName: tls-secret
endpoints:
# -- data management api, used by internal users, can be added to an ingress and must not be internet facing
management:
port: 8081
path: /management
authKey: <path:traceability-irs/data/dev/controlplane#apiKey> # -- authentication key, must be attached to each 'X-Api-Key' request header
# -- protocol api, used for inter connector communication and must be internet facing
protocol:
port: 8084
path: /api/v1/dsp
# -- observability api with unsecured access, must not be internet facing
observability:
port: 8085
path: /observability # -- observability api, provides /health /readiness and /liveness endpoints
insecure: true # -- allow or disallow insecure access, i.e. access without authentication
internationalDataSpaces:
id: TXDC
description: Tractus-X Eclipse IDS Data Space Connector
title: ""
maintainer: ""
curator: ""
catalogId: TXDC-Catalog
resources:
limits:
cpu: 1
memory: 2Gi
requests:
cpu: 100m
memory: 2Gi
dataplane:
ingresses:
- enabled: true
hostname: "irs-dil-consumer-dataplane.dev.demo.catena-x.net"
annotations:
nginx.ingress.kubernetes.io/ssl-passthrough: "false"
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
endpoints:
- public
className: "nginx"
tls:
enabled: true
secretName: tls-secret
endpoints:
public:
port: 8081
path: /api/public
observability:
port: 8085
path: /observability
insecure: true
resources:
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
# URL where the EndpointDataReference callback will be sent to
backendService:
httpProxyTokenReceiverUrl: "http://irs-dev-irs-helm:8181/internal/endpoint-data-reference"
################################
# EDC Vault/DAPS Configuration #
################################
vault:
hashicorp:
url: "https://vault.demo.catena-x.net"
token: "<path:traceability-irs/data/dev/controlplane#vaultToken>"
timeout: 30
healthCheck:
enabled: true
standbyOk: true
paths:
secret: /v1/traceability-irs
health: /v1/sys/health
secretNames:
transferProxyTokenSignerPrivateKey: irs-dev-daps-cert-consumer-key
transferProxyTokenSignerPublicKey: irs-dev-daps-cert-consumer
transferProxyTokenEncryptionAesKey: test-edc-encryption-key
##################################
# EDC Postgres Configuration #
##################################
postgresql:
enabled: true
auth:
username: "<path:traceability-irs/data/dev/controlplane#databaseuser>"
password: "<path:traceability-irs/data/dev/controlplane#databasepassword>"
username: "<path:traceability-irs/data/dev/controlplane#databaseuser>"
password: "<path:traceability-irs/data/dev/controlplane#databasepassword>"
jdbcUrl: "jdbc:postgresql://irs-dev-edc-postgresql-hl:5432/edc"
##############################
# EDC Postgres Configuration #
##############################
# EDC chart do not support multiple postgres instances in the same namespace at the moment.
# Enable this to use the postgres dependency for when you want to deploy multiple EDC instances in one namespace
postgresql:
enabled: true
edc-postgresql:
auth:
database: edc
username: <path:traceability-irs/data/dev/controlplane#databaseuser>
postgresPassword: <path:traceability-irs/data/dev/controlplane#databasepassword>
password: <path:traceability-irs/data/dev/controlplane#databasepassword>