Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Add documentation after provider create #287

Merged
merged 2 commits into from
Mar 12, 2021
Merged

Add documentation after provider create #287

merged 2 commits into from
Mar 12, 2021

Conversation

f0ssel
Copy link
Contributor

@f0ssel f0ssel commented Mar 12, 2021

Example:

➜  coder-cli git:(master) ✗ go run cmd/coder/main.go providers create cli-test-2 --hostname=http://cli-test.master.cdr.dev --cluster-address=https://104.154.56.145
success: 
Created workspace provider "cli-test-2"

ID                                   Name          Status     Envproxy Token                       
604aca11-5f959b6c46fe9ef188a621b3    cli-test-2    pending    604aca11-5fc1688feae792c669d130b3    

Now that the workspace provider is provisioned, it must be deployed into the cluster. To learn more,
visit https://coder.com/docs/guides/deploying-workspace-provider

When connected to the cluster you wish to deploy onto, use the following helm command:

helm upgrade coder-workspace-provider coder/workspace-provider \
    --version=1.17.0-rc.1+27-g0c229ed3a-20210311 \
    --atomic \
    --install \
    --force \
    --set envproxy.token=604aca11-5fc1688feae792c669d130b3 \
    --set ingress.host=http://cli-test.master.cdr.dev \
    --set envproxy.clusterAddress=https://104.154.56.145 \
    --set cemanager.AccessURL=https://master.cdr.dev

WARNING: The 'envproxy.token' is a secret value that authenticates the workspace provider, 
make sure not to share this token or make it public. 

Other values can be set on the helm chart to further customize the deployment, see 
https:/github.com/cdr/enterprise-helm/blob/workspace-providers-envproxy-only/README.md

WIP Doc link: https://codercom-2dho4qoqj-codercom.vercel.app/docs/guides/deploying-workspace-provider

@f0ssel f0ssel requested review from nathanpotter and cmoog March 12, 2021 01:59
Copy link
Contributor

@cmoog cmoog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

@f0ssel f0ssel merged commit 1abada7 into master Mar 12, 2021
@f0ssel f0ssel deleted the create-docs branch March 12, 2021 21:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants