Commit Graph
41 Commits
Author SHA1 Message Date
Ruben Hensen 26ca83457c vault: upgrade to 2.2.1, with a script to roll the pods 2026-10-25 02:40:45 +01:00
Ruben Hensen 1f04831a97 Replace the Ingresses with Certificate resources
ingress-nginx is gone and every app is served by the Envoy Gateway. The certificates were created by cert-manager's ingress-shim and are owned by the Ingresses, so each app now declares its Certificate itself, with the same name, secret and usages, so nothing gets reissued. gateway-shim can't take over because the certificates live in the app namespaces.

immich drops mbg.hensen.io, which has no route, so that one certificate is reissued through the Gateway's HTTP-01 solver.

Also removes the Longhorn test-port redirect URI and updates comments that still described nginx.
2026-10-23 21:20:25 +02:00
Ruben Hensen 69a0661d09 Add HTTPRoutes for the apps behind ingress-nginx
Each app gets an HTTPS listener on the Gateway with its existing certificate, an HTTPRoute, and a ReferenceGrant for that certificate. The routes drop Envoy's 15s request timeout, as nginx has no overall limit either. Argo CD and Longhorn follow separately; the Ingresses stay until the switch-over.
2026-10-23 17:39:04 +02:00
Ruben Hensen 7acb7eaa8c Move every ExternalSecret and the ClusterSecretStore to external-secrets.io/v1
ESO 0.16.2 is the one release that serves both v1beta1 and v1. 0.17
stops serving v1beta1, so manifests still on v1beta1 would fail to sync
from the next hop on. For these resources the schemas are name-identical
(conversion strategy None); only the apiVersion changes.
2026-10-22 21:41:28 +02:00
Ruben Hensen b86942077a vault: recreate the injector instead of rolling it
Dropping the anti-affinity wasn't enough: during the rollout the old ReplicaSet kept recreating its pod with the old anti-affinity, which still blocked the new one. Recreate stops the old pod first; nothing uses the injector, so the short gap doesn't matter.
2026-10-22 16:22:59 +02:00
Ruben Hensen 6b81033f70 vault: drop the injector's anti-affinity
The chart requires injector pods on different nodes. With one node and one replica the rolling update to vault-k8s 1.7.6 deadlocked: the new pod stayed Pending until the old one left, which waits for the new one. The server already sets affinity to "" for the same reason.
2026-10-22 16:11:13 +02:00
Ruben Hensen e518e1368f vault: upgrade the chart to 0.34.1, keep the server on 1.17.2
Chart 0.28.1 is only tested up to Kubernetes 1.30. 0.34.1 brings the
injector to vault-k8s 1.7.6. The server image is pinned to the running
1.17.2: the StatefulSet uses OnDelete, so nothing restarts now, but a
later pod restart would otherwise pull the chart's default and Shamir
unsealing needs the keys at hand for a Vault upgrade. Rendered with the
pin, the StatefulSet only changes in formatting and an extra check in the
config script that doesn't apply here.
2026-10-22 16:06:28 +02:00
Ruben Hensen 054117ad6d vault: point External Secrets at the in-cluster Vault service
The store went through https://vault.rubenhensen.nl, so via Hetzner and
the home internet connection. When home internet dropped, the store
validation failed and External Secrets backed off long enough that it
needed a controller restart after the connection came back.

vault-active.vault.svc talks to the active Vault pod directly. It's plain
HTTP, same as the ingress → Vault hop already is.
2026-10-20 15:45:55 +02:00
Ruben Hensen faaf6b6729 Remove most hensen.io refs and move from stalwart.rubenhensen.nl to mail.rubenhensen.nl 2026-04-06 18:09:24 +02:00
Ruben Hensen c51c98e821 Add rubenhensen.nl to all ingresses 2026-03-15 11:46:24 +01:00
Ruben Hensen f78b3fc830 oidc vault config change authentik6 2026-03-15 11:41:34 +01:00
Ruben Hensen d8b058d46c oidc vault config change authentik5 2026-03-15 11:39:28 +01:00
Ruben Hensen 2845bb756c oidc vault config change authentik4 2026-03-15 11:36:11 +01:00
Ruben Hensen 9581f1bb3e Change tls vault 2026-03-15 10:58:26 +01:00
Ruben Hensen 66d1ba9d13 Add oidc to Vault 2026-03-15 10:50:18 +01:00
Ruben Hensen 2686541c66 Increase MBGWP resource limit 2026-02-28 21:57:54 +01:00
Ruben Hensen 35cfe984dc Add 'longhorn' to all storage things for CSI snaps 2026-01-20 22:48:15 +01:00
Ruben Hensen 9885ea6fcc Change path secret store 2024-09-10 22:54:11 +02:00
Ruben Hensen cafe00f245 Add ns to secretstore 2024-09-10 22:42:51 +02:00
Ruben Hensen d3d564be1e Change secret store to cluster secret store 2024-09-10 18:33:08 +02:00
Ruben Hensen 73add05097 Change secret store url 2 2024-09-10 16:03:02 +02:00
Ruben Hensen 9dcb196864 Change secret store url 2024-09-10 16:01:59 +02:00
Ruben Hensen 509fcbefef Add secret store to https 2024-09-10 16:00:57 +02:00
Ruben Hensen 290f3e3f9e Add secret store 2024-09-10 15:50:18 +02:00
Ruben Hensen 9d28838304 Change hosts to array 2024-09-09 16:08:16 +02:00
Ruben Hensen 8a4a122dc0 Change overrides yaml vault 2024-09-09 16:04:55 +02:00
Ruben Hensen 67015f5fab Add ingress vault 2024-09-09 15:54:51 +02:00
Ruben Hensen 6483fc3d58 Add ignore diff for mutatingwebhook 2 2024-09-08 15:00:01 +02:00
Ruben Hensen e6177ebd0f Add ignore diff for mutatingwebhook 2024-09-08 14:58:30 +02:00
Ruben Hensen 5bcae332f6 Change from vault-system to vault 2024-09-08 14:00:00 +02:00
Ruben Hensen 69e664f6d5 add vault to path 2024-09-08 13:57:22 +02:00
Ruben Hensen c376ccc932 add .git to url 2024-09-08 13:53:06 +02:00
Ruben Hensen 134a86c46c Change value files ref 2024-09-08 13:48:07 +02:00
Ruben Hensen b95b2a7e06 Add folder app vault 2024-09-08 13:46:07 +02:00
Ruben Hensen d8440a791d Add helm-vault with values override 2024-09-08 13:42:42 +02:00
Ruben Hensen 0d1e07ed90 Move file vault 2024-09-07 09:26:42 +02:00
Ruben Hensen 328ebb6433 Change indentation ha 2024-09-07 09:24:07 +02:00
Ruben Hensen 2e963cad9b Change indentation ha 2024-09-07 09:17:55 +02:00
Ruben Hensen b646107eaf Change indentation ha 2024-09-07 09:16:22 +02:00
Ruben Hensen 605c272a8e Change to valueObject 2024-09-07 09:09:55 +02:00
Ruben Hensen 9f07a12e6b Add vault folder 2024-09-07 09:05:49 +02:00