Watch
0
0
Fork
You've already forked hyperhive
0

agent ssh unit on every agent with a store, one ssh_config, controller reads the ca key

This commit is contained in:
atlas 2026-11-16 18:33:03 +01:00 • committed by mara
commit 624d5f24f8

View file

@ -410,6 +410,11 @@ let
#
# The agent PKI grant is its only path on that mount: it can ask the one role
# for a certificate, not write that role or reach the issuer.
#
# The one SSH grant is a `read` of the SSH CA, which answers with its public
# key: the swarm UI shows it for a target machine to trust. The controller
# cannot sign, and the signing policy it writes (`hive-agent-ssh`) is
# attached to an agent's role by it only while the operator has switched SSH on.
# The identity grants name each agent's login entity after the agent
# (`agent_entity.rs`) and disable it when the agent is destroyed
@ -628,6 +633,10 @@ let
path "${agentPkiMountPath}/issue/${agentPkiRoleName}" {
capabilities = ["update"]
}
path "${sshAgentsMountPath}/config/ca" {
capabilities = ["read"]
}
'';
# The identity authelia's mint creates its OIDC client secrets in the store