@@ -124,10 +124,27 @@ If successful, you'll see a response similar to:
124
124
clusterissuer.cert-manager.io/letsencrypt created
125
125
` ` `
126
126
127
- # # Step 5: Create a certificates.yaml file and apply it
127
+ # # Step 5: Install Coder
128
128
129
- We will now issue certificates for your Coder instance. Below is a sample
130
- `certificates.yaml` file :
129
+ At this point, you're ready to [install](../../setup/installation.md) Coder.
130
+ However, to use all of the functionality you set up in this tutorial, use the
131
+ following `helm install` command instead :
132
+
133
+ ` ` ` console
134
+ helm install coder coder/coder --namespace coder \
135
+ --version=<CODER_VERSION> \
136
+ --set devurls.host="*.exampleCo.com" \
137
+ --set ingress.host="coder.exampleCo.com" \
138
+ --set ingress.tls.enable=true \
139
+ --set ingress.tls.devurlsHostSecretName="coder-devurls-cert" \
140
+ --set ingress.tls.hostSecretName="coder-root-cert" \
141
+ --set ingress.annotations.cert-manager\. io/cluster-issuer="letsencrypt" \
142
+ --wait
143
+ ` ` `
144
+
145
+ The cluster-issuer will create the certificates you need, using the values
146
+ provided in the `helm install` command for the dev URL and host secret. The
147
+ following is a sample `certificates.yaml` file issued for your Coder instance :
131
148
132
149
` ` ` yaml
133
150
apiVersion: cert-manager.io/v1alpha2
@@ -162,22 +179,6 @@ spec:
162
179
kind: ClusterIssuer
163
180
` ` `
164
181
165
- At this point, you're ready to [install](../../setup/installation.md) Coder.
166
- However, to use all of the functionality you set up in this tutorial, use the
167
- following `helm install` command instead :
168
-
169
- ` ` ` console
170
- helm install coder coder/coder --namespace coder \
171
- --version=<CODER_VERSION> \
172
- --set devurls.host="*.exampleCo.com" \
173
- --set ingress.host="coder.exampleCo.com" \
174
- --set ingress.tls.enable=true \
175
- --set ingress.tls.devurlsHostSecretName="coder-devurls-cert" \
176
- --set ingress.tls.hostSecretName="coder-root-cert" \
177
- --set ingress.annotations.cert-manager\. io/cluster-issuer="letsencrypt" \
178
- --wait
179
- ` ` `
180
-
181
182
There are additional steps to make sure that your hostname and Dev URLs work.
182
183
183
184
1. Check the contents of your namespace
0 commit comments