forked from hsperker/product-knowledge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues.yaml
347 lines (334 loc) · 12.9 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
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
# the chart version should coincide with the binary versions
version: 1.12.19-SNAPSHOT
# the version of the tractusx images
txVersion: latest
dataspace:
bpnOem: BPNL00000003COJN
miwClientOem: sb-168e5a6e-353a-40ca-bf2d-7b615bb21cb4!b457995|ica-production-dim-prod-eu10-004-prod-dis-cloud-approuter!b174292
privateKeyAliasOem: "oem-daps-key"
publicKeyAliasOem: "oem-daps-crt"
dapsClientIdOem: ""
bpnTier1: BPNL00000003CPIY
miwClientTier1: sb-ee866292-fec1-4359-9066-72d874d177b9!b458141|ica-production-dim-prod-eu10-004-prod-dis-cloud-approuter!b174292
privateKeyAliasTier1: "tier1-daps-key"
publicKeyAliasTier1: "tier1-daps-crt"
dapsClientIdTier1: ""
bpnCustomer: &customerBpn BPNL00000003CQI9
didCustomer: &customerDid did:web:portal-backend.int.demo.catena-x.net:api:administration:staticdata:did:BPNL00000003CQI9
oauthCustomer: &customerOauth https://bpnl00000003cqi9-knowledge--agents--consumer--ltd.authentication.eu10.hana.ondemand.com/oauth/token
clientCustomer: &customerOauthClient sb-ccdbb0a7-ab0f-4e78-b5eb-95d3a5d5ed2b!b458165|ica-production-dim-prod-eu10-004-prod-dis-cloud-approuter!b174292
secretCustomer: &customerOauthSecret sts-consumer-secret
dbCustomerUrl: &customerDbUrl "jdbc:postgresql://postgresql:5432/consumer"
dbCustomerName: &customerDbName "consumer"
dbCustomerUser: &customerDbUser "consumer_user"
dbCustomerPass: &customerDbPass "sacred"
miwClientCustomer: sa30
privateKeyAliasCustomer: "customer-daps-key"
publicKeyAliasCustomer: "customer-daps-crt"
dapsClientIdCustomer: ""
ontology: resources/dataspace.ttl
ontologyRef: main
config: resources/agent.ttl
ingress:
host: knowledge.dev.demo.catena-x.net
oemHost: knowledge-oem.dev.demo.catena-x.net
customerConnectorHost: &customerConnectorHost consumer-connector.knowledge.dev.demo.catena-x.net
customerAgentHost: &customerAgentHost consumer-agent.knowledge.dev.demo.catena-x.net
issuer: &clusterIssuer letsencrypt-prod
oemAasHost: &oemAasHost oem-aas-bridge.knowledge.dev.demo.catena-x.net
namespace: "product-knowledge"
security:
htpasswd: ""
htpasswdtype: ""
backupsName: ""
backupsKey: ""
backupsShare: ""
authType: ""
xApiKey: &customerApiKey "foo"
dapsUrl: "https://daps1.int.demo.catena-x.net"
vaultUrl: ""
vaultToken: ""
backendUser: ""
backendPwd: ""
vaultClient: ""
vaultTenant: ""
vaultSecret: ""
tokenKey: &customerTokenKey customer-daps-key
tokenCert: &customerTokenCert customer-daps-crt
vault: &azureVault
name: tsyidsconnectors
client: "dummy"
tenant: "tenant"
secret: "mysecret"
postgresql:
fullnameOverride: "postgresql"
primary:
initdb:
scripts:
my_initdb.sh: |
export PGPASSWORD="postgres"
psql -v ON_ERROR_STOP=1 --username postgres --dbname postgres <<-EOSQL
CREATE DATABASE backend;
CREATE DATABASE oem;
CREATE DATABASE oem2;
CREATE DATABASE tiera;
CREATE DATABASE consumer;
CREATE USER backend_user WITH ENCRYPTED PASSWORD 'backend_login';
CREATE USER oem_user WITH ENCRYPTED PASSWORD 'sacred';
CREATE USER oem2_user WITH ENCRYPTED PASSWORD 'sacred';
CREATE USER tiera_user WITH ENCRYPTED PASSWORD 'sacred';
CREATE USER consumer_user WITH ENCRYPTED PASSWORD 'sacred';
GRANT ALL PRIVILEGES ON DATABASE backend TO backend_user;
GRANT ALL PRIVILEGES ON DATABASE oem TO oem_user;
GRANT ALL PRIVILEGES ON DATABASE oem2 TO oem2_user;
GRANT ALL PRIVILEGES ON DATABASE tiera TO tiera_user;
GRANT ALL PRIVILEGES ON DATABASE consumer TO consumer_user;
\c backend
GRANT ALL ON SCHEMA public TO backend_user;
\c oem
GRANT ALL ON SCHEMA public TO oem_user;
\c oem2
GRANT ALL ON SCHEMA public TO oem2_user;
\c tiera
GRANT ALL ON SCHEMA public TO tiera_user;
\c consumer
GRANT ALL ON SCHEMA public TO consumer_user;
EOSQL
image:
pullPolicy: Always
persistence:
enabled: false
auth:
username: "postgres"
password: "postgres"
database: "postgres"
# initdbUsername:
# initdbPassword:
consumer-connector:
install:
postgresql: false
participant:
id: *customerBpn
iatp:
id: *customerDid
trustedIssuers:
- did:web:dim-static-prod.dis-cloud-prod.cfapps.eu10-004.hana.ondemand.com:dim-hosted:2f45795c-d6cc-4038-96c9-63cedc0cd266:holder-iatp
sts:
dim:
url: https://dis-integration-service-prod.eu10.dim.cloud.sap/api/v2.0.0/iatp/catena-x-portal
oauth:
token_url: *customerOauth
client:
id: *customerOauthClient
secret_alias: *customerOauthSecret
postgresql:
jdbcUrl: *customerDbUrl
auth:
database: *customerDbName
username: *customerDbUser
password: *customerDbPass
vault:
azure: *azureVault
controlplane: &consumerControlPlane
endpoints:
management:
authKey: *customerApiKey
bdrs:
server:
url: https://bpn-did-resolution-service.int.demo.catena-x.net/api/directory
ingresses:
- enabled: true
hostname: *customerConnectorHost
endpoints:
- protocol
- management
- api
tls:
enabled: true
certManager:
clusterIssuer: *clusterIssuer
env:
EDC_DATAPLANE_SELECTOR_AGENTPLANE_URL: http:/hey-catena-dev-consumer-agent-plane-agentplane:8083/api/signaling/v1/dataflows
EDC_DATAPLANE_SELECTOR_AGENTPLANE_SOURCETYPES: cx-common:Protocol?w3c:http:SPARQL,cx-common:Protocol?w3c:http:SKILL
EDC_DATAPLANE_SELECTOR_AGENTPLANE_TRANSFERTYPES: HttpData-PULL
EDC_DATAPLANE_SELECTOR_AGENTPLANE_DESTINATIONTYPES: HttpProxy
EDC_DATAPLANE_SELECTOR_AGENTPLANE_PROPERTIES: '{ "publicApiUrl": "https://consumer-agent.knowledge.dev.demo.catena-x.net/api/public/" }'
EDC_VAULT_URL_OVERRIDE: "https://tsyidsconnectors.vault.azure.net/"
EDC_VAULT_URL_OVERRIDE_UNSAFE: false
EDC_IAM_TRUSTED-ISSUER_0-ISSUER_ID: did:web:dim-static-prod.dis-cloud-prod.cfapps.eu10-004.hana.ondemand.com:dim-hosted:2f45795c-d6cc-4038-96c9-63cedc0cd266:holder-iatp
dataplane:
token:
signer:
privatekey_alias: *customerTokenKey
verifier:
publickey_alias: *customerTokenCert
env:
EDC_VAULT_URL_OVERRIDE: "https://tsyidsconnectors.vault.azure.net/"
EDC_VAULT_URL_OVERRIDE_UNSAFE: false
EDC_IAM_TRUSTED-ISSUER_0-ISSUER_ID: did:web:dim-static-prod.dis-cloud-prod.cfapps.eu10-004.hana.ondemand.com:dim-hosted:2f45795c-d6cc-4038-96c9-63cedc0cd266:holder-iatp
consumer-agent-plane:
image:
repository: ghcr.io/catenax-ng/tx-knowledge-agents-edc/agentplane-azure-vault
url:
public: ""
participant:
id: *customerBpn
iatp:
id: *customerDid
trustedIssuers:
- did:web:dim-static-prod.dis-cloud-prod.cfapps.eu10-004.hana.ondemand.com:dim-hosted:2f45795c-d6cc-4038-96c9-63cedc0cd266:holder-iatp
sts:
dim:
url: https://dis-integration-service-prod.eu10.dim.cloud.sap/api/v2.0.0/iatp/catena-x-portal
oauth:
token_url: *customerOauth
client:
id: *customerOauthClient
secret_alias: *customerOauthSecret
postgresql:
jdbcUrl: *customerDbUrl
auth:
database: *customerDbName
username: *customerDbUser
password: *customerDbPass
vault:
azure: *azureVault
connector: consumer-connector
controlplane: *consumerControlPlane
token:
signer:
privatekey_alias: oem-daps-key
verifier:
publickey_alias: oem-daps-crt
auth: {}
ingresses:
- enabled: true
hostname: *customerAgentHost
annotations:
nginx.org/mergeable-ingress-type: master
endpoints:
- public
- default
tls:
enabled: true
certManager:
clusterIssuer: *clusterIssuer
configs:
# -- An example of an empty graph in ttl syntax
dataspace.ttl: |
#################################################################
# Catena-X Agent Bootstrap Graph in TTL/RDF/OWL FORMAT
#################################################################
@prefix : <GraphAsset?local=Dataspace> .
@prefix cx-common: <https://w3id.org/catenax/ontology/common#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix json: <https://json-schema.org/draft/2020-12/schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix bpnl: <bpn:legal:> .
@prefix bpns: <bpn:site:> .
@base <GraphAsset?local=Dataspace> .
bpnl:BPNL00000003COJN owl:sameAs bpnl:BPNL00000003AYRE;
owl:sameAs bpnl:BPNL00000003AVTH;
owl:sameAs bpnl:BPNL00000003AZQP;
cx-common:id "BPNL00000003COJN"^^xsd:string;
cx-common:id "BPNL00000003AYRE"^^xsd:string;
cx-common:id "BPNL00000003AVTH"^^xsd:string;
cx-common:id "BPNL00000003AZQP"^^xsd:string;
cx-common:hasConnector <edcs://knowledge.dev.demo.catena-x.net/oem-edc-control/BPNL00000003COJN>.
agent:
synchronization: 360000
connectors:
BPNL00000003COJN: https://knowledge.dev.demo.catena-x.net/oem-edc-control/BPNL00000003COJN
BPNL00000003CQI9: https://consumer-connector.knowledge.dev.demo.catena-x.net
services:
# -- A regular expression which outgoing service URLs must match (unless overwritten by a specific asset property)
allow: '(https|(edcs?))://.*'
consumer-agent:
image:
registry: ghcr.io/catenax-ng/
repository: tx-knowledge-agents/matchmaking-agent
url:
public: ""
participant:
id: *customerBpn
connector: consumer-connector
controlplane: *consumerControlPlane
ingresses:
- enabled: true
hostname: *customerAgentHost
annotations:
nginx.ingress.kubernetes.io/use-regex: "true"
nginx.org/mergeable-ingress-type: minion
endpoints:
- default
tls:
enabled: false
certManager:
clusterIssuer: *clusterIssuer
configs:
# -- An example of an empty graph in ttl syntax
dataspace.ttl: |
#################################################################
# Catena-X Agent Bootstrap Graph in TTL/RDF/OWL FORMAT
#################################################################
@prefix : <GraphAsset?local=Dataspace> .
@prefix cx-common: <https://w3id.org/catenax/ontology/common#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix json: <https://json-schema.org/draft/2020-12/schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix bpnl: <bpn:legal:> .
@prefix bpns: <bpn:site:> .
@base <GraphAsset?local=Dataspace> .
bpnl:BPNL00000003COJN owl:sameAs bpnl:BPNL00000003AYRE;
owl:sameAs bpnl:BPNL00000003AVTH;
owl:sameAs bpnl:BPNL00000003AZQP;
cx-common:id "BPNL00000003COJN"^^xsd:string;
cx-common:id "BPNL00000003AYRE"^^xsd:string;
cx-common:id "BPNL00000003AVTH"^^xsd:string;
cx-common:id "BPNL00000003AZQP"^^xsd:string;
cx-common:hasConnector <edcs://knowledge.dev.demo.catena-x.net/oem-edc-control/BPNL00000003COJN>.
agent:
endpoints:
default:
# -- The path mapping the "default" api is going to be exposed by
path: "/matchmaking/api"
# -- An optional regex path match (whose match groups could be used in an nginx-annotation of the ingress)
regex: /matchmaking/(.*)
synchronization: 360000
connectors:
BPNL00000003COJN: https://knowledge.dev.demo.catena-x.net/oem-edc-control/BPNL00000003COJN
BPNL00000003CQI9: https://consumer-connector.knowledge.dev.demo.catena-x.net
services:
# -- A regular expression which outgoing service URLs must match (unless overwritten by a specific asset property)
allow: '(https|(edcs?))://.*'
aas-bridge:
image:
registry: ghcr.io/catenax-ng/
repository: tx-knowledge-agents-aas-bridge/aas-bridge
tag: 0.13.6-SNAPSHOT
aas:
persistence:
# -- The default sparql server is embedded
sparql: http://oem-provider-agent:8082/sparql
endpoints:
default:
regex: ""
ingresses:
- enabled: true
hostname: *oemAasHost
annotations:
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
# nginx.ingress.kubernetes.io/ssl-passthrough: "true"
# nginx.ingress.kubernetes.io/ssl-redirect: "true"
endpoints:
- default
tls:
enabled: true
certManager:
clusterIssuer: *clusterIssuer