Feature 57 (config and provisioning): release mesh-controller, the reviewed release branch merged with main, on top of main
This commit is contained in:
@@ -11,6 +11,7 @@ import (
|
||||
|
||||
"github.com/jackc/pgx/v5"
|
||||
|
||||
"github.com/novox/mesh-controller/internal/broker"
|
||||
"github.com/novox/mesh-controller/internal/catalogue"
|
||||
"github.com/novox/mesh-controller/internal/secrets"
|
||||
)
|
||||
@@ -639,7 +640,7 @@ func GivableAtDesk(m catalogue.Manifest, name string) error {
|
||||
return fmt.Errorf("%s does not declare %q as an own secret; %s", m.Module, name, declaresOwn(m))
|
||||
}
|
||||
switch {
|
||||
case name == BrokerSecret:
|
||||
case name == BrokerSecret || name == broker.ProvisionerSecret:
|
||||
return fmt.Errorf("%q is %s's account on the bus, which the mesh makes (`issue`), never a value a person gives",
|
||||
name, m.Module)
|
||||
case own.MeshMayMake():
|
||||
|
||||
Reference in New Issue
Block a user