Skip to content

Commit

Permalink
ci: host issuer and verifier as walletkit subdomain (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeplotean authored Oct 31, 2023
1 parent b1cfd08 commit 177165f
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 39 deletions.
42 changes: 21 additions & 21 deletions k8s/deployment-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ metadata:
data:
issuer-config.json: |
{
"issuerUiUrl": "https://issuer.walt-test.cloud",
"issuerApiUrl": "https://issuer.walt-test.cloud/issuer-api/default",
"issuerUiUrl": "https://issuer.walletkit.walt-test.cloud",
"issuerApiUrl": "https://issuer.walletkit.walt-test.cloud/issuer-api/default",
"issuerClientName": "walt.id Issuer Portal",
"wallets": {
"walt.id": {
Expand All @@ -20,8 +20,8 @@ data:
}
verifier-config.json: |
{
"verifierUiUrl": "https://verifier.walt-test.cloud",
"verifierApiUrl": "https://verifier.walt-test.cloud/verifier-api/default",
"verifierUiUrl": "https://verifier.walletkit.walt-test.cloud",
"verifierApiUrl": "https://verifier.walletkit.walt-test.cloud/verifier-api/default",
"wallets": {
"walt.id": {
"id": "walt.id",
Expand All @@ -39,7 +39,7 @@ data:
"issuers": {
"walt.id": {
"id": "walt.id",
"url": "https://issuer.walt-test.cloud/issuer-api/default/oidc",
"url": "https://issuer.walletkit.walt-test.cloud/issuer-api/default/oidc",
"description": "walt.id Issuer Portal"
},
"yes.com": {
Expand All @@ -49,7 +49,7 @@ data:
},
"[email protected]": {
"id": "[email protected]",
"url": "https://issuer.walt-test.cloud/onboarding-api/oidc",
"url": "https://issuer.walletkit.walt-test.cloud/onboarding-api/oidc",
"description": "walt.id On-Boarding service"
},
"howest": {
Expand Down Expand Up @@ -219,23 +219,13 @@ metadata:
spec:
tls:
- hosts:
- walletkit.walt-test.cloud
- verifier.walt-test.cloud
- issuer.walt-test.cloud
- verifier.walletkit.walt-test.cloud
- issuer.walletkit.walt-test.cloud
- verifier.howest.walt-test.cloud
- walletkit.walt-test.cloud
secretName: walletkit-tls-secret
rules:
- host: walletkit.walt-test.cloud
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: walletkit
port:
number: 80
- host: verifier.walt-test.cloud
- host: verifier.walletkit.walt-test.cloud
http:
paths:
- path: /verifier-api/
Expand All @@ -259,7 +249,7 @@ spec:
name: verifier-portal
port:
number: 80
- host: issuer.walt-test.cloud
- host: issuer.walletkit.walt-test.cloud
http:
paths:
- path: /issuer-api/
Expand Down Expand Up @@ -290,3 +280,13 @@ spec:
name: issuer-portal
port:
number: 80
- host: walletkit.walt-test.cloud
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: walletkit
port:
number: 80
36 changes: 18 additions & 18 deletions k8s/deployment-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ metadata:
data:
issuer-config.json: |
{
"issuerUiUrl": "https://issuer.walt.id",
"issuerApiUrl": "https://issuer.walt.id/issuer-api/default",
"issuerUiUrl": "https://issuer.walletkit.walt.id",
"issuerApiUrl": "https://issuer.walletkit.walt.id/issuer-api/default",
"issuerClientName": "walt.id Issuer Portal",
"wallets": {
"walt.id": {
Expand All @@ -20,8 +20,8 @@ data:
}
verifier-config.json: |
{
"verifierUiUrl": "https://verifier.walt.id",
"verifierApiUrl": "https://verifier.walt.id/verifier-api/default",
"verifierUiUrl": "https://verifier.walletkit.walt.id",
"verifierApiUrl": "https://verifier.walletkit.walt.id/verifier-api/default",
"wallets": {
"walt.id": {
"id": "walt.id",
Expand Down Expand Up @@ -206,22 +206,12 @@ metadata:
spec:
tls:
- hosts:
- verifier.walletkit.walt.id
- issuer.walletkit.walt.id
- walletkit.walt.id
- verifier.walt.id
- issuer.walt.id
secretName: walletkit-tls-secret
rules:
- host: walletkit.walt.id
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: walletkit
port:
number: 80
- host: verifier.walt.id
- host: verifier.walletkit.walt.id
http:
paths:
- path: /verifier-api/
Expand All @@ -238,7 +228,7 @@ spec:
name: verifier-portal
port:
number: 80
- host: issuer.walt.id
- host: issuer.walletkit.walt.id
http:
paths:
- path: /issuer-api/
Expand All @@ -262,3 +252,13 @@ spec:
name: issuer-portal
port:
number: 80
- host: walletkit.walt.id
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: walletkit
port:
number: 80

0 comments on commit 177165f

Please sign in to comment.