Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit39ed0c3

Browse files
blink-so[bot]matifaliEdwardAngert
authored
docs: simplify PostgreSQL setup by using 'postgresql' as release name (#18754)
Fixes#18751Use `postgresql` as the Helm release name instead of `coder-db` to makethe service name more intuitive and eliminate confusion entirely.## Changes- Changed `helm install coder-db bitnami/postgresql` to `helm installpostgresql 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` createsservice named `postgresql`- Confirmed this approach works with the connection URL`postgresql.coder.svc.cluster.local`Suggested by@EdwardAngert as a cleaner solution than explaining theservice 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 parent10c1e36 commit39ed0c3

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 installcoder-db bitnami/postgresql \
47+
helm installpostgresql 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)

[8]ページ先頭

©2009-2025 Movatter.jp