start the forge mint unit from the trust refresh
a late store root dependency-fails forgejo-swarm-controller-account on first boot and the refresh never started it, so the controller got no forge token (vm-nightly #7084). list it as a trust consumer. Closes #6109
This commit is contained in:
parent
419d087702
commit
47ec47e25b
1 changed files with 23 additions and 1 deletions
|
|
@ -581,13 +581,17 @@ in
|
|||
# just the obvious one: `forgejo-sso-source` fetches the issuer's
|
||||
# `.well-known/openid-configuration` under the store's root, and it
|
||||
# once shipped without the trust its sibling had. The collector is
|
||||
# Go too, for the swarm collector's and authelia's names.
|
||||
# Go too, for the swarm collector's and authelia's names. The mint
|
||||
# unit is a consumer so that the refresh starts it: it `Requires=`
|
||||
# forgejo, so a first boot with a late root leaves it
|
||||
# dependency-failed and nothing else starts it.
|
||||
(caTrust.trustBundle {
|
||||
inherit pkgs;
|
||||
name = "hive-forge";
|
||||
consumers = [
|
||||
"forgejo"
|
||||
"forgejo-sso-source"
|
||||
mintUnit
|
||||
"opentelemetry-collector"
|
||||
];
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue