From 5104bf36042dd949d0b26c222560c21b14a651f8 Mon Sep 17 00:00:00 2001 From: Katie Horne Date: Mon, 22 Mar 2021 14:35:21 -0500 Subject: [PATCH 1/3] Add superuser requirement --- setup/updating.md | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/setup/updating.md b/setup/updating.md index 52b8209bc..4c43e1098 100644 --- a/setup/updating.md +++ b/setup/updating.md @@ -7,26 +7,28 @@ This guide will show you how to update your Coder deployment. ## Prerequisites -If you haven't already, install [helm](https://helm.sh/docs/intro/install/). +- If you haven't already, install [helm](https://helm.sh/docs/intro/install/). -Before beginning the update process, please make sure that you've added the -Coder helm repo to your cluster. You can verify that the Coder repo has been -added to helm using `helm repo list`: +- Before beginning the update process, ensure that you've added the Coder helm + repo to your cluster. You can verify that the Coder repo has been added to + helm using `helm repo list`: -```bash -$ helm repo list -NAME URL -coder https://helm.coder.com -``` + ```bash + $ helm repo list + NAME URL + coder https://helm.coder.com + ``` -If you don't have the Coder repo, you can add it: + If you don't have the Coder repo, you can add it: -```bash -helm repo add coder https://helm.coder.com -``` + ```bash + helm repo add coder https://helm.coder.com + ``` + +- Ensure that your Kubernetes config is pointing to the cluster on which you've + deployed Coder. -Please also ensure that your Kubernetes config is pointing to the cluster on -which you've deployed Coder. +- Ensure that you have superuser privileges to your PostgreSQL database. ## Recommendations From e57393e5973ec54288d98bafb7d04bdf765d4b2c Mon Sep 17 00:00:00 2001 From: Katie Horne Date: Mon, 22 Mar 2021 14:35:21 -0500 Subject: [PATCH 2/3] Add superuser requirement --- setup/updating.md | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/setup/updating.md b/setup/updating.md index 52b8209bc..4c43e1098 100644 --- a/setup/updating.md +++ b/setup/updating.md @@ -7,26 +7,28 @@ This guide will show you how to update your Coder deployment. ## Prerequisites -If you haven't already, install [helm](https://helm.sh/docs/intro/install/). +- If you haven't already, install [helm](https://helm.sh/docs/intro/install/). -Before beginning the update process, please make sure that you've added the -Coder helm repo to your cluster. You can verify that the Coder repo has been -added to helm using `helm repo list`: +- Before beginning the update process, ensure that you've added the Coder helm + repo to your cluster. You can verify that the Coder repo has been added to + helm using `helm repo list`: -```bash -$ helm repo list -NAME URL -coder https://helm.coder.com -``` + ```bash + $ helm repo list + NAME URL + coder https://helm.coder.com + ``` -If you don't have the Coder repo, you can add it: + If you don't have the Coder repo, you can add it: -```bash -helm repo add coder https://helm.coder.com -``` + ```bash + helm repo add coder https://helm.coder.com + ``` + +- Ensure that your Kubernetes config is pointing to the cluster on which you've + deployed Coder. -Please also ensure that your Kubernetes config is pointing to the cluster on -which you've deployed Coder. +- Ensure that you have superuser privileges to your PostgreSQL database. ## Recommendations From 30a38919096bc4b30ea2dd28576b3cf9ab9f2579 Mon Sep 17 00:00:00 2001 From: Katie Horne Date: Mon, 22 Mar 2021 16:09:35 -0500 Subject: [PATCH 3/3] Update Install --- setup/installation.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup/installation.md b/setup/installation.md index 0cf3660a5..9988dd787 100644 --- a/setup/installation.md +++ b/setup/installation.md @@ -67,8 +67,9 @@ kubectl config set-context --current --namespace=coder coder coder/coder -n coder --version= -f values.yaml`. **This must be done for whenever you update the helm chart.** -4. Add the following to your helm chart so that Coder uses your external - PostgreSQL databases: +4. Ensure that you have superuser privileges to your PostgreSQL database. Add + the following to your helm chart so that Coder uses your external PostgreSQL + databases: ```yaml postgres: