feat(secrets): register AddZbSecrets unconditionally on the host (Task 3)

Runtime ISecretResolver must be present on every clustered node regardless of
role: driver-only nodes resolve Layer-B DriverConfig secret: refs but have no
auth/DP/AdminUI (all admin-role-gated). Placed in the unconditional flow next to
AddOtOpcUaHealth(), outside both role blocks. Data Protection left untouched.
This commit is contained in:
Joseph Doherty
2026-07-16 17:07:41 -04:00
parent 772d3a5f34
commit 8843418c54
@@ -349,6 +349,9 @@ if (hasAdmin)
builder.Services.AddOtOpcUaAdminClients();
}
// Registered unconditionally: driver-role nodes resolve Layer-B DriverConfig secrets and have no auth/DP/AdminUI.
builder.Services.AddZbSecrets(builder.Configuration, "Secrets");
builder.Services.AddOtOpcUaHealth();
builder.Services.AddOtOpcUaObservability(builder.Configuration);