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
Resolve InstanceHa container image from ConfigMap before fallback
The webhook was always defaulting spec.containerImage, which meant the
controller never reached the ConfigMap lookup path. This made the
infra-instanceha-config ConfigMap (managed by openstack-operator via
OpenStackVersion) effectively dead code.
Remove the ContainerImage webhook defaulting and reorder the resolution
in GetContainerImage() so the priority is:
1. spec.containerImage (explicit user override)
2. infra-instanceha-config ConfigMap (openstack-operator managed)
3. RELATED_IMAGE env var / hardcoded fallback (standalone deployment)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
return"", fmt.Errorf("no container image found: key 'instanceha-image' not in ConfigMap %s and RELATED_IMAGE_INFRA_INSTANCE_HA_IMAGE_URL_DEFAULT not set", instanceHaConfigMapName)
0 commit comments