Skip to content

Commit 25b1393

Browse files
authored
Merge branch 'main' into postgres-operator
2 parents 74b4bbc + 1f41a85 commit 25b1393

21 files changed

+147
-38
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ jobs:
2222
id: test
2323
run: |
2424
mvn clean integration-test -Ptest
25+

charts/data-space-connector/Chart.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies:
77
- name: postgresql
88
condition: postgresql.enabled
99
repository: oci://registry-1.docker.io/bitnamicharts
10-
version: 13.1.5
10+
version: 16.7.27
1111
# authentication
1212
- name: vcverifier
1313
condition: vcverifier.enabled
@@ -23,7 +23,7 @@ dependencies:
2323
repository: https://fiware.github.io/helm-charts
2424
- name: mysql
2525
condition: mysql.enabled
26-
version: 9.4.4
26+
version: 12.2.2
2727
repository: https://charts.bitnami.com/bitnami
2828
- name: dss-validation-service
2929
alias: dss
@@ -49,16 +49,16 @@ dependencies:
4949
alias: postgis
5050
condition: postgis.enabled
5151
repository: oci://registry-1.docker.io/bitnamicharts
52-
version: 13.1.5
52+
version: 16.7.27
5353
# issuance
5454
- name: keycloak
5555
condition: keycloak.enabled
56-
version: 24.6.1
57-
repository: https://charts.bitnami.com/bitnami
56+
version: 24.5.2
57+
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.9
61+
version: 0.14.11
6262
repository: https://fiware.github.io/helm-charts
6363
- name: contract-management
6464
condition: contract-management.enabled

charts/data-space-connector/templates/authentication-secrets.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
{{- if .Values.authentication.generatePasswords.enabled }}
1+
{{- $existing := lookup "v1" "Secret" $.Release.Namespace .Values.authentication.generatePasswords.secretName }}
2+
{{- if and .Values.authentication.generatePasswords.enabled (not $existing) }}
23
apiVersion: v1
34
kind: Secret
45
type: Opaque

charts/data-space-connector/templates/data-plane-secrets.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
{{- if .Values.dataplane.generatePasswords.enabled }}
1+
{{- $existing := lookup "v1" "Secret" $.Release.Namespace .Values.dataplane.generatePasswords.secretName }}
2+
{{- if and .Values.dataplane.generatePasswords.enabled (not $existing) }}
23
apiVersion: v1
34
kind: Secret
45
type: Opaque

charts/data-space-connector/templates/database-secrets.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
{{- if .Values.postgresql.generatePasswords.enabled }}
1+
{{- $existing := lookup "v1" "Secret" $.Release.Namespace .Values.postgresql.generatePasswords.secretName }}
2+
{{- if and .Values.postgresql.generatePasswords.enabled (not $existing) }}
23
apiVersion: v1
34
kind: Secret
45
type: Opaque

charts/data-space-connector/templates/issuance-secrets.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
{{- if .Values.issuance.generatePasswords.enabled }}
1+
{{- $existing := lookup "v1" "Secret" $.Release.Namespace .Values.issuance.generatePasswords.secretName }}
2+
{{- if and .Values.issuance.generatePasswords.enabled (not $existing) }}
23
apiVersion: v1
34
kind: Secret
45
type: Opaque

charts/data-space-connector/templates/marketplace-env-var-secret.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
{{- if .Values.marketplace.generatePasswords.enabled }}
1+
{{- $existing := lookup "v1" "Secret" $.Release.Namespace (printf "%s-env" .Values.marketplace.generatePasswords.secretName) }}
2+
{{- if and .Values.marketplace.generatePasswords.enabled (not $existing) }}
23
apiVersion: v1
34
kind: Secret
45
type: Opaque

charts/data-space-connector/templates/marketplace-secrets.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
{{- if .Values.marketplace.generatePasswords.enabled }}
1+
{{- $existing := lookup "v1" "Secret" $.Release.Namespace .Values.marketplace.generatePasswords.secretName }}
2+
{{- if and .Values.marketplace.generatePasswords.enabled (not $existing) }}
23
apiVersion: v1
34
kind: Secret
45
type: Opaque

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

Lines changed: 32 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,40 @@ metadata:
55
name: rainbow
66
namespace: {{ $.Release.Namespace | quote }}
77
labels:
8-
{{ include "dsc.labels" . | nindent 4 }}
8+
{{- include "dsc.labels" . | nindent 4 }}
9+
{{- if .Values.rainbow.ingress.annotations }}
10+
annotations:
11+
{{- with .Values.rainbow.ingress.annotations }}
12+
{{- toYaml . | nindent 4 }}
13+
{{- end }}
14+
{{- end }}
915
spec:
16+
{{- if .Values.rainbow.ingress.className }}
17+
ingressClassName: {{ .Values.rainbow.ingress.className }}
18+
{{- end }}
19+
{{- if .Values.rainbow.ingress.tls }}
20+
tls:
21+
{{- range .Values.rainbow.ingress.tls }}
22+
- hosts:
23+
{{- range .hosts }}
24+
- {{ . | quote }}
25+
{{- end }}
26+
secretName: {{ .secretName }}
27+
{{- end }}
28+
{{- end }}
1029
rules:
11-
- host: {{ .Values.rainbow.ingress.host }}
30+
{{- range .Values.rainbow.ingress.hosts }}
31+
- host: {{ .host | quote }}
1232
http:
1333
paths:
14-
- path: /
15-
pathType: Prefix
16-
backend:
17-
service:
18-
name: rainbow
19-
port:
20-
name: http
34+
{{- range .paths }}
35+
- path: {{ . }}
36+
pathType: Prefix
37+
backend:
38+
service:
39+
name: rainbow
40+
port:
41+
number: {{ $.Values.rainbow.service.port }}
42+
{{- end }}
43+
{{- end }}
2144
{{- end }}

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

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,43 @@ data:
106106
{{ .Values.keycloak.realm.clients | nindent 8 }}
107107
],
108108
"clientScopes": [
109+
{
110+
"name": "basic",
111+
"description": "OpenID Connect scope for add all basic claims to the token",
112+
"protocol": "openid-connect",
113+
"attributes": {
114+
"include.in.token.scope": "false",
115+
"display.on.consent.screen": "false"
116+
},
117+
"protocolMappers": [
118+
{
119+
"id": "feebb873-c2a4-487b-afae-e7993a3d8082",
120+
"name": "sub",
121+
"protocol": "openid-connect",
122+
"protocolMapper": "oidc-sub-mapper",
123+
"consentRequired": false,
124+
"config": {
125+
"introspection.token.claim": "true",
126+
"access.token.claim": "true"
127+
}
128+
},
129+
{
130+
"id": "a2531c5e-0cb4-4228-8d71-7cd03cea45d4",
131+
"name": "auth_time",
132+
"protocol": "openid-connect",
133+
"protocolMapper": "oidc-usersessionmodel-note-mapper",
134+
"consentRequired": false,
135+
"config": {
136+
"user.session.note": "AUTH_TIME",
137+
"id.token.claim": "true",
138+
"introspection.token.claim": "true",
139+
"access.token.claim": "true",
140+
"claim.name": "auth_time",
141+
"jsonType.label": "long"
142+
}
143+
}
144+
]
145+
},
109146
{
110147
"name": "roles",
111148
"description": "OpenID Connect scope for add user roles to the access token",

0 commit comments

Comments
 (0)