Skip to content

Commit

Permalink
readme: ui: use --guestbook-ca="" as we now use a lets encrypt cert
Browse files Browse the repository at this point in the history
Signed-off-by: Maël Valais <[email protected]>
  • Loading branch information
maelvls committed Mar 21, 2024
1 parent 9ba5ec1 commit 8babb03
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -676,17 +676,18 @@ Now, ssh into the Raspberry Pi and launch the UI:
```sh
# From your laptop.
ssh pi docker rm -f print-your-cert-ui
ssh pi 'kubectl get secret -n cert-manager root-print-your-cert-ca --template="{{index .data \"tls.crt\" | base64decode}}" | tee ca.crt'
ssh pi docker run -d --restart=always --name print-your-cert-ui --net=host \
-v '/home/pi/.kube/config:/home/nonroot/.kube/config' \
-v '/home/pi/ca.crt:/home/nonroot/ca.crt' \
ghcr.io/cert-manager/print-your-cert-ui:latest \
--issuer print-your-cert-ca \
--issuer-kind ClusterIssuer \
--listen 0.0.0.0:8080 \
--guestbook-ca /home/nonroot/ca.crt
--guestbook-ca=""
```

Set `--guestbook-ca` to `""` because we manually issued a Let's Encrypt
certificate for the guestbook.

> [!NOTE]
>
> We don't actually push the image to GHCR. We just load it directly to the Raspberry Pi.
Expand Down

0 comments on commit 8babb03

Please sign in to comment.