You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e9798cf
Browse filesBrowse the repository at this point in the historyBrowse files
Force reinstall of operator resources on release version upgrade
Fixes upgrade failures from 0.4 to main caused by incompatible webhook
configuration changes that trigger index out of range panics during
manifest merging.
When OPENSTACK_RELEASE_VERSION is bumped, the controller now:
- Detects the version change by comparing against status.ReleaseVersion
- Deletes all owned resources (deployments, services, serviceaccounts, configmaps)
- Removes managed webhooks (validating and mutating configurations)
- Requeues to recreate resources with new manifests
This one-time cleanup ensures a clean slate for incompatible upgrades
where the structure of resources (especially webhooks) has changed between
versions.
Adds ReleaseVersion field to OpenStackStatus to track the deployed version.
Also, adds bounds checking to skip copying clientConfig for new webhooks
that don't exist in the current configuration, allowing the merge to
complete successfully.
Jira: OSPRH-23865
Co-authored-by: Brendan Shephard <bshephar@fedora-g16.bne-home.net>
0 commit comments