From 7e6d9b680e9fd3f22d195a40d684d72c2faf30b6 Mon Sep 17 00:00:00 2001 From: Katie Horne Date: Tue, 29 Jun 2021 10:27:46 -0500 Subject: [PATCH] Update installation step --- guides/ssl-certificates/cloudDNS.md | 39 +++++++++++++++-------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/guides/ssl-certificates/cloudDNS.md b/guides/ssl-certificates/cloudDNS.md index bc284c544..38dec55d3 100644 --- a/guides/ssl-certificates/cloudDNS.md +++ b/guides/ssl-certificates/cloudDNS.md @@ -124,10 +124,27 @@ If successful, you'll see a response similar to: clusterissuer.cert-manager.io/letsencrypt created ``` -## Step 5: Create a certificates.yaml file and apply it +## Step 5: Install Coder -We will now issue certificates for your Coder instance. Below is a sample -`certificates.yaml` file: +At this point, you're ready to [install](../../setup/installation.md) Coder. +However, to use all of the functionality you set up in this tutorial, use the +following `helm install` command instead: + +```console +helm install coder coder/coder --namespace coder \ + --version= \ + --set devurls.host="*.exampleCo.com" \ + --set ingress.host="coder.exampleCo.com" \ + --set ingress.tls.enable=true \ + --set ingress.tls.devurlsHostSecretName="coder-devurls-cert" \ + --set ingress.tls.hostSecretName="coder-root-cert" \ + --set ingress.annotations.cert-manager\.io/cluster-issuer="letsencrypt" \ + --wait +``` + +The cluster-issuer will create the certificates you need, using the values +provided in the `helm install` command for the dev URL and host secret. The +following is a sample `certificates.yaml` file issued for your Coder instance: ```yaml apiVersion: cert-manager.io/v1alpha2 @@ -162,22 +179,6 @@ spec: kind: ClusterIssuer ``` -At this point, you're ready to [install](../../setup/installation.md) Coder. -However, to use all of the functionality you set up in this tutorial, use the -following `helm install` command instead: - -```console -helm install coder coder/coder --namespace coder \ - --version= \ - --set devurls.host="*.exampleCo.com" \ - --set ingress.host="coder.exampleCo.com" \ - --set ingress.tls.enable=true \ - --set ingress.tls.devurlsHostSecretName="coder-devurls-cert" \ - --set ingress.tls.hostSecretName="coder-root-cert" \ - --set ingress.annotations.cert-manager\.io/cluster-issuer="letsencrypt" \ - --wait -``` - There are additional steps to make sure that your hostname and Dev URLs work. 1. Check the contents of your namespace