Skip to content

Airgapped network instructions cert application command is wrong #461

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jul 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion setup/air-gapped/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Air-Gapped Deployment
title: Air-gapped deployment
description: Learn how to set up an air-gapped Coder deployment.
---

Expand Down
14 changes: 10 additions & 4 deletions setup/air-gapped/infrastructure.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Network Setup
title: Network setup
description: Learn how to set up a network for air-gapped Coder deployment.
---

Expand Down Expand Up @@ -127,11 +127,17 @@ certs:
key: "registry.crt"
```

Then, add the flag `-f registry-cert-values.yml` to the end of the secret
verification immediately above:
Then, add the flag `-f registry-cert-values.yml` to the end of the `helm install`
or `helm upgrade` command to include the new secrets file:

```console
kubectl -n coder get secret local-registry-cert -o yaml -f registry-cert-values.yml
helm install --wait --atomic --debug --namespace coder coder . \
--set cemanager.image=$REGISTRY_DOMAIN_NAME/coderenvs/coder-service:<version> \
--set envproxy.image=$REGISTRY_DOMAIN_NAME/coderenvs/coder-service:<version> \
--set envbox.image=$REGISTRY_DOMAIN_NAME/coderenvs/envbox:<version> \
--set timescale.image=$REGISTRY_DOMAIN_NAME/coderenvs/timescale:<version> \
--set dashboard.image=$REGISTRY_DOMAIN_NAME/coderenvs/dashboard:<version> \
-f registry-cert-values.yml
```

### Resolving the registry using the cluster's DNS or hostAliases
Expand Down