Watch
0
0
Fork
You've already forked hyperhive
0

k8s: the ca-trust publisher no longer holds multi-user.target while it waits for the setup

This commit is contained in:
atlas 2026-11-27 03:41:11 +01:00 • committed by mara
commit adbe85e427

View file

@ -892,6 +892,9 @@ let
&& hasInfix "--from-file=swarm-services-root.pem=" caUnit.script
&& hasInfix "--from-file=trust-bundle.pem=" caUnit.script
&& lib.elem "multi-user.target" caUnit.wantedBy
# Not a oneshot: its start job would last until the script ends, and the
# script waits for files the setup writes after boot.
&& caUnit.serviceConfig.Type == "simple"
# A change to either file publishes again with no manual step, and the
# host without the node has no path unit.
&&