Commit 5cfb65c
authored
fix(helm-prereqs): Add switch_nvos vault policy paths for switch ingestion (#2760)
<!-- Describe what this PR does -->
Add switch_nvos vault policy paths for switch ingestion
Required for NVSwitch credential rotation during creds rotation flow.
Grants nico-vault-policy create/read/patch/list/update/delete on
data/switch_nvos/*, read/list/delete on metadata/switch_nvos/*, and
delete on destroy/switch_nvos/*.
## Related issues
<!-- Refer to existing GitHub issues here -->
## Type of Change
<!-- Check one that best describes this PR -->
- [ ] **Add** - New feature or capability
- [x] **Change** - Changes in existing functionality
- [ ] **Fix** - Bug fixes
- [ ] **Remove** - Removed features or deprecated functionality
- [ ] **Internal** - Internal changes (refactoring, tests, docs, etc.)
## Breaking Changes
<!-- If checked, describe the breaking changes and migration steps -->
<!-- Breaking changes are not generally permitted, please discuss on a
GitHub discussion or with the development team if you believe you need
to break a backward compatibility guarantee -->
- [ ] **This PR contains breaking changes**
## Testing
<!-- How was this tested? Check all that apply -->
- [ ] Unit tests added/updated
- [ ] Integration tests added/updated
- [ ] Manual testing performed
- [x] No testing required (docs, internal refactor, etc.)
## Additional Notes
Adds three new paths to `nico-vault-policy` in
`helm-prereqs/templates/vault-config-job.yaml` to support NVSwitch
credential rotation:
- `data/switch_nvos/*` — full CRUD + list
- `metadata/switch_nvos/*` — read, list, delete (needed to enumerate and
clean up secret versions)
- `destroy/switch_nvos/*` — delete (hard-delete old secret versions)1 parent d2da1e2 commit 5cfb65c
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
257 | 266 | | |
258 | 267 | | |
259 | 268 | | |
| |||
0 commit comments