Skip to content
Open
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
18 changes: 18 additions & 0 deletions DEVNOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,24 @@ docker build . -t consent

This image can then be run with the proper configuration files provided.

### Render Configs

[render-configs.sh](scripts/render-configs.sh) makes the files in `config/` (git-ignored) that the
local stack needs. Do not edit these files by hand. The next render replaces them.

| File | Source | Option |
|---|---|---|
| `server.crt`, `server.key`, `ca-bundle.crt` | The `local-dev-cert` secret in the dev cluster | Always |

You need `gcloud`, `kubectl` and `openssl`, and the non-split Broad VPN for the cluster steps. The
script stops at the first step that fails, and that step leaves the old files as they were. Run:

```bash
./scripts/render-configs.sh
```

Every 3 months the certs rotate. Run the script again to get the new certs.

### Configure

Copy `src/test/resources/consent-config.yml` to `config/consent.yaml` (the `config/` directory is
Expand Down
Loading
Loading