Skip to content

Commit 31bb882

Browse files
author
Mike Terhar
authored
Airgapped network instructions cert application command is wrong (#461)
1 parent fd25313 commit 31bb882

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

setup/air-gapped/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Air-Gapped Deployment
2+
title: Air-gapped deployment
33
description: Learn how to set up an air-gapped Coder deployment.
44
---
55

setup/air-gapped/infrastructure.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Network Setup
2+
title: Network setup
33
description: Learn how to set up a network for air-gapped Coder deployment.
44
---
55

@@ -127,11 +127,17 @@ certs:
127127
key: "registry.crt"
128128
```
129129
130-
Then, add the flag `-f registry-cert-values.yml` to the end of the secret
131-
verification immediately above:
130+
Then, add the flag `-f registry-cert-values.yml` to the end of the `helm install`
131+
or `helm upgrade` command to include the new secrets file:
132132

133133
```console
134-
kubectl -n coder get secret local-registry-cert -o yaml -f registry-cert-values.yml
134+
helm install --wait --atomic --debug --namespace coder coder . \
135+
--set cemanager.image=$REGISTRY_DOMAIN_NAME/coderenvs/coder-service:<version> \
136+
--set envproxy.image=$REGISTRY_DOMAIN_NAME/coderenvs/coder-service:<version> \
137+
--set envbox.image=$REGISTRY_DOMAIN_NAME/coderenvs/envbox:<version> \
138+
--set timescale.image=$REGISTRY_DOMAIN_NAME/coderenvs/timescale:<version> \
139+
--set dashboard.image=$REGISTRY_DOMAIN_NAME/coderenvs/dashboard:<version> \
140+
-f registry-cert-values.yml
135141
```
136142

137143
### Resolving the registry using the cluster's DNS or hostAliases

0 commit comments

Comments
 (0)