Skip to content

Commit 39ed0c3

Browse files
blink-so[bot]matifaliEdwardAngert
authored
docs: simplify PostgreSQL setup by using 'postgresql' as release name (#18754)
Fixes #18751 Use `postgresql` as the Helm release name instead of `coder-db` to make the service name more intuitive and eliminate confusion entirely. ## Changes - Changed `helm install coder-db bitnami/postgresql` to `helm install postgresql bitnami/postgresql` - Updated PostgreSQL URLs from `coder-db-postgresql.coder.svc.cluster.local` to `postgresql.coder.svc.cluster.local` - Removed explanatory notes about service naming (no longer needed) ## Benefits ✅ Makes examples work out-of-the-box for most users ✅ Uses the most straightforward and intuitive release name ✅ Eliminates confusion about service naming entirely ✅ Simpler documentation without complex explanations ## Testing - Verified that `helm install postgresql bitnami/postgresql` creates service named `postgresql` - Confirmed this approach works with the connection URL `postgresql.coder.svc.cluster.local` Suggested by @EdwardAngert as a cleaner solution than explaining the service naming dependency. --------- Co-authored-by: blink-so[bot] <211532188+blink-so[bot]@users.noreply.github.com> Co-authored-by: matifali <10648092+matifali@users.noreply.github.com> Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com> Co-authored-by: Edward Angert <EdwardAngert@users.noreply.github.com>
1 parent 10c1e36 commit 39ed0c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/install/kubernetes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ on the internet that explain sensible configurations for this chart. Example:
4444
```console
4545
# Install PostgreSQL
4646
helm repo add bitnami https://charts.bitnami.com/bitnami
47-
helm install coder-db bitnami/postgresql \
47+
helm install postgresql bitnami/postgresql \
4848
--namespace coder \
4949
--set auth.username=coder \
5050
--set auth.password=coder \
@@ -55,7 +55,7 @@ helm install coder-db bitnami/postgresql \
5555
The cluster-internal DB URL for the above database is:
5656

5757
```shell
58-
postgres://coder:coder@coder-db-postgresql.coder.svc.cluster.local:5432/coder?sslmode=disable
58+
postgres://coder:coder@postgresql.coder.svc.cluster.local:5432/coder?sslmode=disable
5959
```
6060

6161
You can optionally use the
@@ -69,7 +69,7 @@ self-managed PostgreSQL, the address will be:
6969

7070
```sh
7171
kubectl create secret generic coder-db-url -n coder \
72-
--from-literal=url="postgres://coder:coder@coder-db-postgresql.coder.svc.cluster.local:5432/coder?sslmode=disable"
72+
--from-literal=url="postgres://coder:coder@postgresql.coder.svc.cluster.local:5432/coder?sslmode=disable"
7373
```
7474

7575
## 4. Install Coder with Helm

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy