[nomad-step-2] S2-fix-A — enable kv-v2 at kv/ via new lib/init/nomad/vault-engines.sh #920
Labels
No labels
action
backlog
blocked
bug-report
cannot-reproduce
in-progress
in-triage
needs-triage
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
rejected
reproduced
tech-debt
underspecified
vision
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#920
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Part of the Nomad+Vault migration. Step-2 sub-bugfix (2/4). Replaces part of the consolidated #912. Blocked by: #919 (S2-fix-B) (shared env helper).
Goal
Enable the
kv-v2secret engine at thekv/mount duringdisinto init --backend=nomad. Currentlyvault secrets liston a freshly-provisioned cluster shows onlycubbyhole/,identity/,sys/— nokv/. Every policy invault/policies/*.hcl, every role invault/roles.yaml, every read/write in templates and import scripts addresses paths underkv/...and gets 403 because the mount doesn't exist.Scope
Create
lib/init/nomad/vault-engines.sh:Wire into
lib/init/nomad/cluster-up.shafter vault-init.sh + vault start succeed, beforevault-apply-policies.shruns. A new step between current 7 (start vault) and 9 (profile.d), renumbered appropriately.Also wire into
bin/disinto's nomad-backend flow so runningdisinto init --backend=nomad --emptyproduces a cluster with the kv mount enabled.Acceptance criteria
disinto init --backend=nomad --emptyfollowed byvault secrets listshowskv/mount typekv(version 2).tools/vault-apply-policies.shsucceeds with no 403s.shellcheckclean.Non-goals
Labels / meta
[nomad-step-2] S2-fix-A— blocked by #919.Resolved by merged PR #923 (merge commit
cfe1ef95) which landed all 4 sub-issue fixes at once. Closing as superseded.