Skip to content
This repository was archived by the owner on Aug 18, 2025. It is now read-only.

Commit b4d3711

Browse files
author
Mike Terhar
authored
bash is prettier than console part 2
1 parent 7aae0ef commit b4d3711

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

setup/air-gapped/infrastructure.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ container runtime, but here is a partial list to help you get started:
6969
If the cluster uses containerd, apply the following to patch in certificates for
7070
images in the local registry domain:
7171

72-
```console
72+
```bash
7373
update-ca-certificates
7474
cat <<EOT >> /etc/containerd/config.toml
7575
[plugins."io.containerd.grpc.v1.cri".registry.configs."$REGISTRY_DOMAIN_NAME".tls]
@@ -99,7 +99,7 @@ To pass a self-signed certificate to Coder's images, you'll need to:
9999

100100
To create a secret, run:
101101

102-
```console
102+
```bash
103103
kubectl -n coder create secret generic local-registry-cert --from-file=/certs
104104
```
105105

@@ -113,7 +113,7 @@ becomes the secret **key**.
113113
114114
To verify the new secret:
115115

116-
```console
116+
```bash
117117
kubectl -n coder get secret local-registry-cert -o yaml
118118
```
119119

@@ -130,7 +130,7 @@ certs:
130130
Then, add the flag `-f registry-cert-values.yml` to the end of the `helm install`
131131
or `helm upgrade` command to include the new secrets file:
132132

133-
```console
133+
```bash
134134
helm install --wait --atomic --debug --namespace coder coder . \
135135
--set cemanager.image=$REGISTRY_DOMAIN_NAME/coderenvs/coder-service:<version> \
136136
--set envproxy.image=$REGISTRY_DOMAIN_NAME/coderenvs/coder-service:<version> \
@@ -147,7 +147,7 @@ registry's static IP address. One way to do this without an external DNS server
147147
is to use the node's hosts file. For example, if the registry is on 10.0.0.2,
148148
then add this to the Node configuration script:
149149

150-
```console
150+
```bash
151151
echo "10.0.0.2 $REGISTRY_DOMAIN_NAME" >> /etc/hosts
152152
```
153153

0 commit comments

Comments
 (0)