Skip to content

Commit

Permalink
fix(ci): exclude hetzner login from lychee
Browse files Browse the repository at this point in the history
  • Loading branch information
meysam81 committed Mar 22, 2024
1 parent 32fcf1e commit 279761c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/codes/0005-install-k3s-ubuntu/opentofu/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ resource "hcloud_server" "this" {
name = "k3s-cluster"
server_type = "cax11" # ARM64, 2vCPU, 4GB RAM
image = "ubuntu-22.04"
location = "nbg1" # Nuernberg DC
location = "nbg1" # Nuremberg DC

user_data = file("${path.module}/cloud-init.yml")
}
8 changes: 4 additions & 4 deletions docs/posts/0005-install-k3s-on-ubuntu22.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ for high availability and fault tolerance. You will be guided with some of the
obvious tips at the end of this post.

First, you need to create an account on Hetzner Cloud[^2] and generate an API
token[^3]. Your generated token must have write access cause we need to create
resources on your behalf.
token[^3]. Your generated token must have write access cause the TF files will
create resources on your behalf.

## Step 1: Create the server

Expand Down Expand Up @@ -258,7 +258,7 @@ Cilium has native support[^7] for Gatway API.

To run this ansible playbook, I will simply run the following command:

```shell title=""
```shell title="" linenums="0"
ansible-playbook -i ansible/inventory.yml ansible/playbook.yml -v
```

Expand Down Expand Up @@ -307,7 +307,7 @@ Cloud Firewall to protect my server.
-8<- "docs/codes/0005-install-k3s-ubuntu/opentofu/versions.tf"
```

```hcl title="opentofu/network.tf"
```hcl title="opentofu/network.tf" hl_lines="11 17-19"
-8<- "docs/codes/0005-install-k3s-ubuntu/opentofu/network.tf"
```

Expand Down
3 changes: 3 additions & 0 deletions lychee.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
exclude = [
'https://accounts.hetzner.com/login',
]

0 comments on commit 279761c

Please sign in to comment.