Skip to content

Commit 85b8e36

Browse files
committed
md alignment
1 parent 096326d commit 85b8e36

File tree

1 file changed

+25
-27
lines changed

1 file changed

+25
-27
lines changed

docs/admin/setup/index.md

Lines changed: 25 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ a wildcard subdomain that resolves to Coder (e.g. `*.coder.example.com`).
5252
If you are providing TLS certificates directly to the Coder server, either
5353

5454
1. Use a single certificate and key for both the root and wildcard domains.
55-
2. Configure multiple certificates and keys via
55+
1. Configure multiple certificates and keys via
5656
[`coder.tls.secretNames`](https://github.com/coder/coder/blob/main/helm/coder/values.yaml)
5757
in the Helm Chart, or
5858
[`--tls-cert-file`](../../reference/cli/server.md#--tls-cert-file) and
@@ -78,29 +78,27 @@ working directory prior to step 1.
7878

7979
1. Create the TLS secret in your Kubernetes cluster
8080

81-
```shell
82-
kubectl create secret tls coder-tls -n <coder-namespace> --key="tls.key" --cert="tls.crt"
83-
```
81+
```shell
82+
kubectl create secret tls coder-tls -n <coder-namespace> --key="tls.key" --cert="tls.crt"
83+
```
8484

85-
> You can use a single certificate for the both the access URL and wildcard
86-
> access URL. The certificate CN must match the wildcard domain, such as
87-
> `*.example.coder.com`.
85+
You can use a single certificate for the both the access URL and wildcard access URL. The certificate CN must match the wildcard domain, such as `*.example.coder.com`.
8886

8987
1. Reference the TLS secret in your Coder Helm chart values
9088

91-
```yaml
92-
coder:
93-
tls:
94-
secretName:
95-
- coder-tls
96-
97-
# Alternatively, if you use an Ingress controller to terminate TLS,
98-
# set the following values:
99-
ingress:
100-
enable: true
101-
secretName: coder-tls
102-
wildcardSecretName: coder-tls
103-
```
89+
```yaml
90+
coder:
91+
tls:
92+
secretName:
93+
- coder-tls
94+
95+
# Alternatively, if you use an Ingress controller to terminate TLS,
96+
# set the following values:
97+
ingress:
98+
enable: true
99+
secretName: coder-tls
100+
wildcardSecretName: coder-tls
101+
```
104102
105103
## PostgreSQL Database
106104
@@ -115,7 +113,7 @@ If you are using the built-in PostgreSQL deployment and need to use `psql` (aka
115113
the PostgreSQL interactive terminal), output the connection URL with the
116114
following command:
117115

118-
```console
116+
```shell
119117
coder server postgres-builtin-url
120118
psql "postgres://coder@localhost:49627/coder?sslmode=disable&password=feU...yI1"
121119
```
@@ -126,13 +124,13 @@ To migrate from the built-in database to an external database, follow these
126124
steps:
127125

128126
1. Stop your Coder deployment.
129-
2. Run `coder server postgres-builtin-serve` in a background terminal.
130-
3. Run `coder server postgres-builtin-url` and copy its output command.
131-
4. Run `pg_dump <built-in-connection-string> > coder.sql` to dump the internal
127+
1. Run `coder server postgres-builtin-serve` in a background terminal.
128+
1. Run `coder server postgres-builtin-url` and copy its output command.
129+
1. Run `pg_dump <built-in-connection-string> > coder.sql` to dump the internal
132130
database to a file.
133-
5. Restore that content to an external database with
131+
1. Restore that content to an external database with
134132
`psql <external-connection-string> < coder.sql`.
135-
6. Start your Coder deployment with
133+
1. Start your Coder deployment with
136134
`CODER_PG_CONNECTION_URL=<external-connection-string>`.
137135

138136
## Configuring Coder behind a proxy
@@ -154,5 +152,5 @@ more information.
154152

155153
## Up Next
156154

157-
- [Learn how to setup and manage templates](../templates/index.md)
155+
- [Setup and manage templates](../templates/index.md)
158156
- [Setup external provisioners](../provisioners.md)

0 commit comments

Comments
 (0)