Skip to content

Commit c6c9948

Browse files
authored
Merge pull request #95 from FIWARE/dcql
Support Central Marketplace and increase verifeir version to support DCQL
2 parents 93f1f86 + 183a8c9 commit c6c9948

31 files changed

+1722
-558
lines changed

charts/data-space-connector/Chart.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: data-space-connector
33
description: Umbrella Chart for the FIWARE Data Space Connector, combining all essential parts to be used by a participant.
44
type: application
5-
version: 8.2.22
5+
version: 8.3.0
66
dependencies:
77
- name: postgresql
88
condition: postgresql.enabled
@@ -11,11 +11,11 @@ dependencies:
1111
# authentication
1212
- name: vcverifier
1313
condition: vcverifier.enabled
14-
version: 4.1.2
14+
version: 4.3.0
1515
repository: https://fiware.github.io/helm-charts
1616
- name: credentials-config-service
1717
condition: credentials-config-service.enabled
18-
version: 2.1.12
18+
version: 2.3.0
1919
repository: https://fiware.github.io/helm-charts
2020
- name: trusted-issuers-list
2121
condition: trusted-issuers-list.enabled
@@ -33,7 +33,7 @@ dependencies:
3333
# authorization
3434
- name: odrl-pap
3535
condition: odrl-pap.enabled
36-
version: 2.0.2
36+
version: 2.3.0
3737
repository: https://fiware.github.io/helm-charts
3838
- name: apisix
3939
condition: apisix.enabled
@@ -53,16 +53,16 @@ dependencies:
5353
# issuance
5454
- name: keycloak
5555
condition: keycloak.enabled
56-
version: 24.5.2
56+
version: 25.2.0
5757
repository: oci://registry-1.docker.io/bitnamicharts
5858
# contract management
5959
- name: tm-forum-api
6060
condition: tm-forum-api.enabled
61-
version: 0.14.11
61+
version: 0.14.14
6262
repository: https://fiware.github.io/helm-charts
6363
- name: contract-management
6464
condition: contract-management.enabled
65-
version: 3.2.0
65+
version: 3.5.6
6666
repository: https://fiware.github.io/helm-charts
6767
# marketplace
6868
- name: business-api-ecosystem

charts/data-space-connector/templates/did-cm.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,17 @@ data:
2222
{{- else }}
2323
"kty: "RSA",
2424
{{- end }}
25+
{{- if eq .Values.didJson.key.kty "RSA" }}
2526
"e": {{ .Values.didJson.key.exponent | quote }},
2627
"n": {{ .Values.didJson.key.modulus | quote }},
28+
{{- end }}
29+
{{- if eq .Values.didJson.key.kty "EC" }}
30+
"crv": {{ .Values.didJson.key.crv | quote }},
31+
"x": {{ .Values.didJson.key.xCoord | quote }},
32+
"y": {{ .Values.didJson.key.yCoord | quote }},
33+
{{- end }}
2734
{{- if .Values.didJson.key.x5u }}
2835
"x5u": {{ .Values.didJson.key.x5u | quote }}
29-
{{- else }}
30-
"x5u": "https://fancy-marketplace.biz/.well-known/tls.crt"
3136
{{- end }}
3237
}
3338
}

charts/data-space-connector/templates/did-ingress.yaml

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,40 @@ kind: Ingress
44
metadata:
55
name: did-json
66
namespace: {{ $.Release.Namespace | quote }}
7-
{{- if .Values.didJson.ingress.annotations }}
87
annotations:
9-
{{- toYaml .Values.didJson.ingress.annotations | nindent 4 }}
10-
{{- end }}
8+
{{- with .Values.didJson.ingress.annotations }}
9+
{{- toYaml . | nindent 4 }}
10+
{{- end }}
11+
labels:
12+
{{ include "dsc.labels" . | nindent 4 }}
13+
spec:
14+
{{- if .Values.didJson.ingress.tlsSecret }}
15+
tls:
16+
- hosts:
17+
- {{ .Values.didJson.ingress.host }}
18+
secretName: {{ .Values.didJson.ingress.tlsSecret }}
19+
{{- end }}
20+
rules:
21+
- host: {{ .Values.didJson.ingress.host }}
22+
http:
23+
paths:
24+
- path: /
25+
pathType: Prefix
26+
backend:
27+
service:
28+
name: did-json
29+
port:
30+
name: http
31+
---
32+
apiVersion: networking.k8s.io/v1
33+
kind: Ingress
34+
metadata:
35+
name: did-json-unsecured
36+
namespace: {{ $.Release.Namespace | quote }}
37+
annotations:
38+
{{- with .Values.didJson.ingress.annotations }}
39+
{{- toYaml . | nindent 4 }}
40+
{{- end }}
1141
labels:
1242
{{ include "dsc.labels" . | nindent 4 }}
1343
spec:

charts/data-space-connector/templates/participant-registration.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ data:
1313
{{ .Values.registration.prepScript }}
1414
{{- end }}
1515
{{- $registration := .Values.registration}}
16-
{{- range $index, $credentialType := .Values.registration.credentialTypes }}
1716
18-
# credentials config service registration
1917
curl -v -X 'POST' \
2018
'{{ $registration.til }}/issuer' \
2119
-H 'accept: */*' \
@@ -31,6 +29,5 @@ data:
3129
{{- end }}
3230
]
3331
}"
34-
{{- end }}
3532
3633
{{- end }}

charts/data-space-connector/templates/realm.yaml

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ data:
1111
{
1212
"id": "{{ .Values.keycloak.realm.name }}",
1313
"realm": "{{ .Values.keycloak.realm.name }}",
14-
"displayName": "Keycloak",
15-
"displayNameHtml": "<div class=\"kc-logo-text\"><span>Keycloak</span></div>",
14+
"displayName": "{{ .Values.keycloak.realm.name }}",
15+
"displayNameHtml": "<div class=\"kc-logo-text\"><span>{{ .Values.keycloak.realm.name }}</span></div>",
1616
"verifiableCredentialsEnabled": true,
1717
"enabled": true,
1818
"attributes": {
@@ -630,9 +630,33 @@ data:
630630
"providerId": "jwt_vc"
631631
}
632632
],
633-
634-
{{- if eq .Values.elsi.enabled true }}
635633
"org.keycloak.keys.KeyProvider": [
634+
{
635+
"name": "ecdh-generated",
636+
"providerId": "ecdh-generated",
637+
"subComponents": {},
638+
"config": {
639+
"ecGenerateCertificate": [
640+
"false"
641+
],
642+
"active": [
643+
"true"
644+
],
645+
"priority": [
646+
"0"
647+
],
648+
"ecdhAlgorithm": [
649+
"ECDH-ES"
650+
],
651+
"ecdhEllipticCurveKey": [
652+
"P-256"
653+
],
654+
"enabled": [
655+
"true"
656+
]
657+
}
658+
},
659+
{{- if eq .Values.elsi.enabled true }}
636660
{
637661
"id": "a4589e8f-7f82-4345-b2ea-ccc9d4366600",
638662
"name": {{ .Values.elsi.keyAlias | quote }},
@@ -658,9 +682,7 @@ data:
658682
]
659683
}
660684
}
661-
]
662685
{{- else if .Values.keycloak.signingKey }}
663-
"org.keycloak.keys.KeyProvider": [
664686
{
665687
"id": "a4589e8f-7f82-4345-b2ea-ccc9d4366600",
666688
"name": "signing-key",
@@ -690,9 +712,7 @@ data:
690712
]
691713
}
692714
}
693-
]
694715
{{ else }}
695-
"org.keycloak.keys.KeyProvider": [
696716
{
697717
"id": "a4589e8f-7f82-4345-b2ea-ccc9d4366600",
698718
"name": "test-key",
@@ -718,8 +738,8 @@ data:
718738
]
719739
}
720740
}
721-
]
722741
{{- end }}
742+
]
723743
}
724744
}
725745

charts/data-space-connector/values.yaml

Lines changed: 45 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ issuance:
2424

2525
# -- configuration for the mysql to be deployed as part of the connector, see https://github.com/bitnami/charts/tree/main/bitnami/mysql for all options
2626
mysql:
27+
kubeVersion: 1.34-1
2728
# -- should it be enabled? set to false if one outside the chart is used.
2829
enabled: true
2930
global:
@@ -116,6 +117,7 @@ credentials-config-service:
116117
enabled: false
117118
# -- configuration for the postgresql to be deployed as part of the connector, see https://github.com/bitnami/charts/tree/main/bitnami/postgresql for all options
118119
postgresql:
120+
kubeVersion: 1.34-1
119121
# -- should it be enabled? set to false if one outside the chart is used.
120122
enabled: true
121123
global:
@@ -205,6 +207,7 @@ tpp:
205207

206208
# -- configuration for apisix to be deployed as part of the connector, see https://github.com/bitnami/charts/tree/main/bitnami/apisix for all options
207209
apisix:
210+
kubeVersion: 1.34-1
208211
global:
209212
security:
210213
# allow the image from the legacy repo
@@ -237,6 +240,7 @@ apisix:
237240
repository: bitnamilegacy/apisix-ingress-controller
238241
# -- configuration in regard to the apisix etcd
239242
etcd:
243+
kubeVersion: 1.34-1
240244
# -- should it be enabled
241245
enabled: true
242246
global:
@@ -356,6 +360,7 @@ apisix:
356360

357361
# -- configuration for the postgresql to be deployed as part of the connector, see https://github.com/bitnami/charts/tree/main/bitnami/postgresql for all options
358362
postgis:
363+
kubeVersion: 1.34-1
359364
# -- should it be enabled? set to false if one outside the chart is used.
360365
enabled: true
361366
global:
@@ -469,6 +474,7 @@ elsi:
469474

470475
## configuration of the keycloak - see https://github.com/bitnami/charts/tree/main/bitnami/keycloak for details
471476
keycloak:
477+
kubeVersion: 1.34-1
472478
# -- should it be enabled? set to false if one outside the chart is used.
473479
enabled: true
474480
global:
@@ -479,12 +485,13 @@ keycloak:
479485
image:
480486
# -- repository where the image is held, see https://github.com/bitnami/charts/issues/35164 for further info
481487
repository: bitnamilegacy/keycloak
482-
tag: 26.3.2-debian-12-r0
483488
# -- disable the security context, required by the current quarkus container, will be solved in the future chart versions of keycloak
484489
containerSecurityContext:
485490
enabled: false
486491
proxyHeaders: xforwarded
487492
proxy: edge
493+
tls:
494+
enabled: false
488495
service:
489496
ports:
490497
http: 8080
@@ -523,8 +530,6 @@ keycloak:
523530

524531
# -- extra env vars to be set. we require them at the moment, since some of the chart config mechanisms only work with the bitnami-image
525532
extraEnvVars:
526-
- name: KEYCLOAK_LOG_LEVEL
527-
value: INFO
528533
- name: KEYCLOAK_EXTRA_ARGS
529534
value: "--import-realm"
530535
- name: KC_FEATURES
@@ -611,6 +616,7 @@ keycloak:
611616
"frontchannelLogout": false,
612617
"protocol": "oid4vc",
613618
"attributes": {
619+
"oid4vci.enabled": true,
614620
"client.secret.creation.time": "1675260539",
615621
"vc.natural-person.format": "jwt_vc",
616622
"vc.natural-person.scope": "NaturalPersonCredential",
@@ -851,6 +857,8 @@ contract-management:
851857
# -- should it be enabled? set to false if one outside the chart is used.
852858
enabled: true
853859
fullnameOverride: contract-management
860+
til:
861+
credentialType: OperatorCredential
854862
services:
855863
## Config for Trusted Issuers List
856864
trusted-issuers-list:
@@ -881,6 +889,7 @@ contract-management:
881889
odrl:
882890
## URL to the ODRL-PAP
883891
url: http://odrl-pap:8080
892+
884893

885894
# -- configuration for the did-helper, should only be used for demonstrational deployments, see https://github.com/wistefan/did-helper
886895
did:
@@ -889,7 +898,6 @@ did:
889898
# -- configuration for registering a participant at the til, will most probably only be used in demonstrational enviornments
890899
registration:
891900
enabled: false
892-
prepScript: "test"
893901

894902
# -- configuration for the .well-known/data-space-configuration endpoint document
895903
dataSpaceConfig:
@@ -911,9 +919,42 @@ dataSpaceConfig:
911919
authenticationProtocols: []
912920

913921

922+
## didJson provider to make the did.json file available
914923
didJson:
924+
# -- should the did.json be provided?
915925
enabled: false
926+
# -- port of the service to be used
927+
port: 3000
928+
# -- did to be serverd
929+
did:
930+
# -- key material to be provided in the jwk of the did.json
916931
key:
932+
# -- kty to be used in the jwk - RSA and EC supported
933+
kty: EC
934+
# -- optional x5u endpoint to provide access to the corresponding cert chain
935+
x5u:
936+
# -- In case of kty==EC: xCoord of the EC key
937+
xCoord:
938+
# -- In case of kty==EC: yCoord of the EC key
939+
yCoord:
940+
# -- In case of kty==EC: curve to be used for the EC key
941+
crv:
942+
# -- In case of kty==RSA: exponent of the RSA key
943+
exponent:
944+
# -- In case of kty==RSA: modulus of the RSA key
945+
modulus:
946+
# -- ingress configuration of the did.json
947+
ingress:
948+
# -- should the ingress be enabled?
949+
enabled: false
950+
# -- host to provide the did.json at
951+
host:
952+
# -- tls secret to be used for the ingress
953+
tlsSecret:
954+
# -- annotations to be applied to the ingress
955+
annotations:
956+
traefik.ingress.kubernetes.io/service.passhostheader: "true"
957+
traefik.ingress.kubernetes.io/router.tls: "true"
917958

918959
## Installation of the mongo-operator - see https://github.com/mongodb/helm-charts/tree/main/charts/community-operator
919960
mongo-operator:

0 commit comments

Comments
 (0)