Problem:
When a new domain (host URL) is set to the wrong workspace name (idp-tenant)
Solution:
- Exec into MongoDB
kubectl exec -it $(kubectl get pod -l io.kompose.service=sdf-cs-signals-mongo -o jsonpath="{.items[0].metadata.name}") -- mongo -u root -p "nncYvUjEC5)[)&"
show dbs
use pkisso
show collections
db.getCollection("ssotenants").find({}).pretty()
db.getCollection("ssotenants").findOneAndUpdate({domain: "<correct domain name>"}, {$set: {"idpData.idp-tenant": "<correct tenant name>"}})
db.getCollection (”ssotenants”).find({}).pretty()
Comments
0 comments
Please sign in to leave a comment.