Kubernetes
1
Download Template Files
2
Last updated
Was this helpful?
git clone https://gitlab.com/obsidian.systems/tradecraft-docs.git
Modify these 3 files with the proper values for your setup:
tradecraft-config.yaml
tradecraft-ui-common-config.yaml
tradecraft-ui-backend-config.yaml
Suggested considerations:
Put the password for the tradecraft OAuth user in tradecraft-secret.yaml
... specific instructions coming soon.
tradecraft-config.yaml:
Set the oauth username to the email address used during auth0 setup.
Set the oauth url to https://your-tenant-id.us.auth0.com/oauth/token
Add a line under extra_params for: "audience": "https://canton.network.global"
Set the client_id using the ID found in the auth0 dashboard on the page for the Tradecraft application settings.
tradecraft-ui-backend-config.yaml:
Set oauth_request_url to https://your-tenant-id.us.auth0.com/oauth/token
tradecraft-ui-common-config.yaml:
Set oauth_auth_url to https://your-tenant-id.us.auth0.com/authorize
Set oauth_client_id using the same value as above.
You can find your Client ID here:

The config files can reference environment variables which you’ll likely want to supply through Kubernetes secrets, like so:
kubectl apply -f tradecraft-secret.yamlNow go ahead and create the ConfigMaps on Kubernetes:
kubectl apply -f tradecraft-config.yaml
kubectl apply -f tradecraft-ui-common-config.yaml
kubectl apply -f tradecraft-ui-backend-config.yamlLast updated
Was this helpful?
Was this helpful?
