Skip to content

fix(ironic-runbooks): use a system scope token and fix the update script operations - #2258

Merged
cardoe merged 2 commits into
mainfrom
worktree-ironic-runbook-infrasetup-system
Aug 28, 2026
Merged

fix(ironic-runbooks): use a system scope token and fix the update script operations#2258
cardoe merged 2 commits into
mainfrom
worktree-ironic-runbook-infrasetup-system

Conversation

@cardoe

@cardoe cardoe commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Manipulating public runbooks requires a system scope user so switch to that. The update_runbooks.sh script could get called if the runback didn't yet exists based on k8s state so handle it gracefully by creating or updating. Switch to using the UUID since that's required in the API calls.

cardoe added 2 commits August 28, 2026 12:44
Mount the system-scoped infrasetup-system secret instead of
baremetal-manage for the shell-operator clouds.yaml, granting the
runbook controller system-readwrite scope.
Fixed up the ironic runhook update script to create or update the
runbook depending on if it exists. Switch to using the UUID for the curl
calls since that is required.
@cardoe cardoe changed the title worktree ironic runbook infrasetup system fix(ironic-runbooks): use a system scope token and fix the update script operations Aug 28, 2026
@cardoe
cardoe marked this pull request as ready for review August 28, 2026 18:30
@cardoe
cardoe enabled auto-merge August 28, 2026 18:31
@cardoe
cardoe added this pull request to the merge queue Aug 28, 2026
Merged via the queue into main with commit f54daec Aug 28, 2026
38 of 39 checks passed
@cardoe
cardoe deleted the worktree-ironic-runbook-infrasetup-system branch August 28, 2026 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants