Skip to content

Commit

Permalink
Link to k3sup
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
alexellis committed Feb 9, 2024
1 parent 8edd074 commit f13260d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion blog/_posts/2024-02-09-the-homelab-tunnel-you-need.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ If you have multiple clusters, that's no problem, just add them with different `

Now log into your K3s servers, and modify the `/etc/systemd/system/k3s.service` file.

If you haven't installed K3s yet, then you can just use [k3sup's](https://k3sup.dev) `install` command and pass along the `--tls-san` flag to get the same effect.

```diff
ExecStart=/usr/local/bin/k3s \
server \
Expand Down Expand Up @@ -221,10 +223,12 @@ Make sure you create a DNS A record between the domain and the tunnel server's I
Given that the domain is being served with a staging certificate, you can use `faas-cli` with `--tls-no-verify` to bypass the certificate verification.

```bash
# Get $PASSWORD from `arkade info openfaas`
$ arkade get faas-cli
$ export OPENFAAS_URL=https://faas.example.com
# Populate $PASSWORD via `arkade info openfaas`

$ echo -n $PASSWORD | faas-cli login --tls-no-verify --password-stdin

$ faas-cli store deploy --tls-no-verify figlet
Expand Down

0 comments on commit f13260d

Please sign in to comment.