9 Commits

Author SHA1 Message Date
ed656189ea Replace deprecated datacenter by location for priamry-ips
Hetzner has changed it's API and removed the field `datacenter` from the
primary IPs in favor of `location`. This change reflex this and adjusts
the configuration accordingly. Note, that this change didn't require any
manual state changes. Instead I applied the former plan with the newest
provider once. Hence the provider already treated the fields correctly I
only had to adjust the configuration.
Chapeau Hetzner for this good transition!

See-also: 14da745f Update tofu-resources to their latest versions
Reference: https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters
2026-02-13 00:33:47 +01:00
14da745fcc Update tofu-resources to their latest versions
The API of Hetzner has got some important changes recently which will
impact my configuration. So, this maintenance change is necessary for me
to address these changes and figure out all deprecations.

First and foremost a new DNS-API was introduced in November 2025 to bind
the DNS-settings closer to their cloud console. In favor of this new
DNS-system they will phase out the old API in the beginning of May 2026!

Secondly, some API-fields have changed, e.g. the "datacenter" field of
primary IPs is going to be removed in favor of the "location" field.
This change will finally take place at 1. of July 2026.

Beside of that I simply updated all providers to their latest versions.

Reference: https://docs.hetzner.com/networking/dns/faq/beta
Reference: https://docs.hetzner.cloud/changelog#2025-11
Reference: https://docs.hetzner.cloud/changelog#2025-12
2026-02-13 00:01:02 +01:00
58b0c0fcc7 Move declaration of primary IPs into kubernetes-module 2025-11-28 00:28:25 +01:00
7297892e18 Merge infra and k3 into one directory again
Since I don't have multiple terraform steps anymore it simply doesn't
make sense to me anymore to split all tasks into separate folders.
Instead I try to be as clear as possible in the README to make it easy
to follow the structure in the future without too much headache.
2025-11-28 00:24:18 +01:00
d96523a071 Move infra-setup and k3s-setup into dedicated directories
This changes makes it easier to differentiate and understand the
different parts of the kubernetes setup. On one hand we have the bare
infrastructure (servers, network, etc), on the other hand we have the
software (k3s in this case).

In the future we'll have a few more parts, like the minimal
configuration of the kubernetes cluster, e.g. with a cert-manager. This
is easier to manage with helm or terraform than with ansible. Therefore
it makes even more sense to split the responsibilities into dedicated
directories.
2025-09-15 14:47:19 +02:00
dfcdc9797a Setup k3s with the help of ansible after the infra-provisioning
This change is huge! It allows me to manage the k3s installation on the
hetzner-cloud I setup via terraform.
2025-09-15 04:20:22 +02:00
a1e9f43a31 reorganize firewall rules to make it more obvious what has changed 2025-03-15 20:49:40 +01:00
1eb2ce341a Define a basic but working complete k3s-kubernetes setup 2025-03-10 01:44:56 +01:00
d005643bb1 Add directory for modules and move dns into it 2025-03-05 00:08:51 +01:00