Skip to content

Commit

Permalink
feat: exposes trusted issuers in charts config (#1237)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolf4ood authored Apr 18, 2024
1 parent d5c154d commit 8c05e86
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/tractusx-connector-azure-vault/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ helm install my-release tractusx-edc/tractusx-connector-azure-vault --version 0.
| iatp.sts.oauth.client.id | string | `nil` | |
| iatp.sts.oauth.client.secret_alias | string | `nil` | |
| iatp.sts.oauth.token_url | string | `nil` | |
| iatp.trustedIssuers | list | `[]` | Configures the trusted issuers for this runtime |
| imagePullSecrets | list | `[]` | Existing image pull secret to use to [obtain the container image from private registries](https://kubernetes.io/docs/concepts/containers/images/#using-a-private-registry) |
| install.postgresql | bool | `true` | |
| nameOverride | string | `""` | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,11 @@ spec:
- name: "EDC_IAM_STS_DIM_URL"
value: {{ .Values.iatp.sts.dim.url | required ".Values.iatp.sts.dim.url is required" | quote}}

{{- range $index, $issuer := .Values.iatp.trustedIssuers }}
- name: "EDC_IAM_TRUSTED-ISSUER_{{$index}}-ISSUER_ID"
value: {{ $issuer | quote }}
{{- end }}

#################
## BDRS CLIENT ##
#################
Expand Down
2 changes: 2 additions & 0 deletions charts/tractusx-connector-azure-vault/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ participant:
iatp:
# Decentralized IDentifier
id: "did:web:changeme"
# -- Configures the trusted issuers for this runtime
trustedIssuers: []
sts:
dim:
url:
Expand Down
1 change: 1 addition & 0 deletions charts/tractusx-connector-memory/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ helm install my-release tractusx-edc/tractusx-connector-memory --version 0.7.0 \
| iatp.sts.oauth.client.id | string | `nil` | |
| iatp.sts.oauth.client.secret_alias | string | `nil` | |
| iatp.sts.oauth.token_url | string | `nil` | |
| iatp.trustedIssuers | list | `[]` | Configures the trusted issuers for this runtime |
| imagePullSecrets | list | `[]` | Existing image pull secret to use to [obtain the container image from private registries](https://kubernetes.io/docs/concepts/containers/images/#using-a-private-registry) |
| nameOverride | string | `""` | |
| participant.id | string | `"BPNLCHANGEME"` | BPN Number |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,11 @@ spec:
- name: "EDC_IAM_STS_DIM_URL"
value: {{ .Values.iatp.sts.dim.url | required ".Values.iatp.sts.dim.url is required" | quote}}

{{- range $index, $issuer := .Values.iatp.trustedIssuers }}
- name: "EDC_IAM_TRUSTED-ISSUER_{{$index}}-ISSUER_ID"
value: { { $issuer | quote } }
{{- end }}

#################
## BDRS CLIENT ##
#################
Expand Down
2 changes: 2 additions & 0 deletions charts/tractusx-connector-memory/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ participant:
iatp:
# Decentralized IDentifier
id: "did:web:changeme"
# -- Configures the trusted issuers for this runtime
trustedIssuers: []
sts:
dim:
url:
Expand Down
1 change: 1 addition & 0 deletions charts/tractusx-connector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ helm install my-release tractusx-edc/tractusx-connector --version 0.7.0 \
| iatp.sts.oauth.client.id | string | `nil` | |
| iatp.sts.oauth.client.secret_alias | string | `nil` | |
| iatp.sts.oauth.token_url | string | `nil` | |
| iatp.trustedIssuers | list | `[]` | Configures the trusted issuers for this runtime |
| imagePullSecrets | list | `[]` | Existing image pull secret to use to [obtain the container image from private registries](https://kubernetes.io/docs/concepts/containers/images/#using-a-private-registry) |
| install.postgresql | bool | `true` | |
| install.vault | bool | `true` | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,11 @@ spec:
- name: "EDC_IAM_STS_DIM_URL"
value: {{ .Values.iatp.sts.dim.url | required ".Values.iatp.sts.dim.url is required" | quote}}

{{- range $index, $issuer := .Values.iatp.trustedIssuers }}
- name: "EDC_IAM_TRUSTED-ISSUER_{{$index}}-ISSUER_ID"
value: {{ $issuer | quote }}
{{- end }}

#################
## BDRS CLIENT ##
#################
Expand Down
2 changes: 2 additions & 0 deletions charts/tractusx-connector/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ participant:
iatp:
# Decentralized IDentifier
id: "did:web:changeme"
# -- Configures the trusted issuers for this runtime
trustedIssuers: []
sts:
dim:
url:
Expand Down

0 comments on commit 8c05e86

Please sign in to comment.