Skip to content

Commit

Permalink
chore: add base address to portal config
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil91 committed Apr 22, 2024
1 parent 051b01b commit c2c1667
Show file tree
Hide file tree
Showing 8 changed files with 52 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ spec:
- name: "CONNECTIONSTRINGS__ISSUERDB"
value: "Server={{ .Values.externalDatabase.host }};Database={{ .Values.externalDatabase.database }};Port={{ .Values.externalDatabase.port }};User Id={{ .Values.externalDatabase.username }};Password=$(ISSUER_PASSWORD);Ssl Mode={{ .Values.dbConnection.sslMode }};"
{{- end }}
- name: "PORTAL__CLIENTID"
value: "{{ .Values.issuer.portal.clientId }}"
- name: "PORTAL__CLIENTSECRET"
valueFrom:
secretKeyRef:
Expand All @@ -75,12 +77,33 @@ spec:
value: "{{ .Values.processesworker.portal.grantType }}"
- name: "PORTAL__TOKENADDRESS"
value: "{{ .Values.centralidp.address }}{{ .Values.centralidp.tokenPath }}"
- name: "PORTAL__BASEADDRESS"
value: "{{ .Values.portalBackendAddress }}"
- name: "PORTAL__PASSWORD"
value: "empty"
- name: "PORTAL__SCOPE"
value: "{{ .Values.processesworker.portal.scope }}"
- name: "PORTAL__USERNAME"
value: "empty"
- name: "CALLBACK__CLIENTID"
value: "{{ .Values.issuer.portal.clientId }}"
- name: "CALLBACK__CLIENTSECRET"
valueFrom:
secretKeyRef:
name: "{{ template "issuer.secretName" . }}"
key: "portal-client-secret"
- name: "CALLBACK__GRANTTYPE"
value: "{{ .Values.processesworker.portal.grantType }}"
- name: "CALLBACK__TOKENADDRESS"
value: "{{ .Values.centralidp.address }}{{ .Values.centralidp.tokenPath }}"
- name: "CALLBACK__BASEADDRESS"
value: "{{ .Values.portalBackendAddress }}"
- name: "CALLBACK__PASSWORD"
value: "empty"
- name: "CALLBACK__SCOPE"
value: "{{ .Values.processesworker.portal.scope }}"
- name: "CALLBACK__USERNAME"
value: "empty"
- name: "WALLET__BASEADDRESS"
value: "{{ .Values.walletAddress }}"
- name: "WALLET__CLIENTID"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ spec:
value: "{{ .Values.issuer.logging.businessLogic }}"
- name: "SWAGGERENABLED"
value: "{{ .Values.issuer.swaggerEnabled }}"
- name: "PORTAL__CLIENTID"
value: "{{ .Values.issuer.portal.clientId }}"
- name: "PORTAL__CLIENTSECRET"
valueFrom:
secretKeyRef:
Expand All @@ -102,6 +104,8 @@ spec:
value: "{{ .Values.issuer.portal.grantType }}"
- name: "PORTAL__TOKENADDRESS"
value: "{{ .Values.centralidp.address }}{{ .Values.centralidp.tokenPath }}"
- name: "PORTAL__BASEADDRESS"
value: "{{ .Values.portalBackendAddress }}"
- name: "PORTAL__PASSWORD"
value: "empty"
- name: "PORTAL__SCOPE"
Expand Down
5 changes: 5 additions & 0 deletions charts/ssi-credential-issuer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
# SPDX-License-Identifier: Apache-2.0
###############################################################

# -- Provide portal-backend base address.
portalBackendAddress: "https://portal-backend.example.org"
walletAddress: "https://wallet.example.org"
walletTokenAddress: "https://wallet.example.org/oauth/token"

issuer:
image:
name: "docker.io/tractusx/ssi-credential-issuer-service"
Expand Down
4 changes: 4 additions & 0 deletions consortia/environments/values-beta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
# SPDX-License-Identifier: Apache-2.0
###############################################################

portalBackendAddress: "https://portal-backend.beta.demo.catena-x.net"
walletAddress: "https://dis-integration-service-prod.eu10.dim.cloud.sap"
walletTokenAddress: "https://bpnl00000003crhk-catena-x.authentication.eu10.hana.ondemand.com/oauth/token"

ingress:
enabled: true
className: "nginx"
Expand Down
4 changes: 4 additions & 0 deletions consortia/environments/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
# SPDX-License-Identifier: Apache-2.0
###############################################################

portalBackendAddress: "https://portal-backend.dev.demo.catena-x.net"
walletAddress: "https://dis-integration-service-prod.eu10.dim.cloud.sap"
walletTokenAddress: "https://bpnl00000003crhk-catena-x.authentication.eu10.hana.ondemand.com/oauth/token"

ingress:
enabled: true
className: "nginx"
Expand Down
4 changes: 4 additions & 0 deletions consortia/environments/values-int.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
# SPDX-License-Identifier: Apache-2.0
###############################################################

portalBackendAddress: "https://portal-backend.int.demo.catena-x.net"
walletAddress: "https://dis-integration-service-prod.eu10.dim.cloud.sap"
walletTokenAddress: "https://bpnl00000003crhk-catena-x.authentication.eu10.hana.ondemand.com/oauth/token"

ingress:
enabled: true
className: "nginx"
Expand Down
4 changes: 4 additions & 0 deletions consortia/environments/values-pen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
# SPDX-License-Identifier: Apache-2.0
###############################################################

portalBackendAddress: "https://portal-backend-pen.dev.demo.catena-x.net"
walletAddress: "https://dis-integration-service-prod.eu10.dim.cloud.sap"
walletTokenAddress: "https://bpnl00000003crhk-catena-x.authentication.eu10.hana.ondemand.com/oauth/token"

ingress:
enabled: true
className: "nginx"
Expand Down
4 changes: 4 additions & 0 deletions consortia/environments/values-rc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
# SPDX-License-Identifier: Apache-2.0
###############################################################

portalBackendAddress: "https://portal-backend-rc.dev.demo.catena-x.net"
walletAddress: "https://dis-integration-service-prod.eu10.dim.cloud.sap"
walletTokenAddress: "https://bpnl00000003crhk-catena-x.authentication.eu10.hana.ondemand.com/oauth/token"

ingress:
enabled: true
className: "nginx"
Expand Down

0 comments on commit c2c1667

Please sign in to comment.