A Talos cluster and the apps on it share values. The machine configs give
the nodes their addresses and Kubernetes its pod and Service networks.
Manifests that name those networks, such as a NetworkPolicy, only work
while they match. Kept in two places, one of them falls behind the day a
network changes.
This post renders both layers from one Kapitan
inventory . The talos
generator writes the machine configs of a control plane node and a worker.
The recipe
blackbox-exporter and the
kubernetes generator render the app, a
Prometheus blackbox exporter with an egress policy. The project is
talos-apps
in kadet-hub/examples. Its check script runs in CI on every change and
once a week.…