monitoring (Update): mktxp reads the active monitoring slot from OpenBao (lab/iac#139) #1720
No reviewers
Labels
No labels
epic
fleet:hub
fleet:identity
fleet:ingress
fleet:offload
fleet:sveltos
needs-triage
ready-for-agent
ready-for-human
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lab/clusters!1720
Loading…
Reference in a new issue
No description provided.
Delete branch "routeros-monitoring-password"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The cluster half of lab/iac#139, reworked to the two-slot design from lab/iac ADR-0011. The earlier ESO generator + PushSecret + runner env version is dropped: it had a login-failure window on every rotation and needed the repos merged in a fixed order.
Changes
mktxp-exporter/credentials.yaml: for each device, reads OpenBaosecret/routeros-monitoring/<device>/{active,a,b}(read-only for ESO) and renders the active slot's user and password into mktxp'scredentials_file. The lab/iac routeros roots write those paths, and only pointactiveat a slot after the router accepts it. The previous slot stays valid for a full period, so mktxp's refresh or restart lag never holds a dead password.mktxp-exporter/deployment.yaml:.startedmarker and a liveness probe that restarts the container after the credentials Secret changes. mktxp reads its credentials file only at connect. Reloader is scaled to 0 on mini.Merge order
None. Until the iac roots have applied, the ExternalSecret reports SecretSyncedError and the pod waits, the same as today.
Checks
..dataswap: exits 0 before, 1 after, 0 after the restartWIP: routeros (Add): ESO-generated, rotated monitoring passwords (lab/iac#139)to WIP: monitoring (Update): mktxp reads the active monitoring slot from OpenBao (lab/iac#139)3a628ff26atof9cab0e3b8WIP: monitoring (Update): mktxp reads the active monitoring slot from OpenBao (lab/iac#139)to monitoring (Update): mktxp reads the active monitoring slot from OpenBao (lab/iac#139)