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
fix: resolve postgresql image from operator csv in setup-database
replace the hardcoded postgresql image with a dynamic lookup from the
rhoai operator csv's spec.relatedImages. this ensures the setup script
uses the digest-pinned image shipped with the operator, which is
critical for disconnected environments where idms redirects
registry.redhat.io references to the local mirror.
the csv lookup extracts the image for "postgresql_16_image", strips the
mirror registry prefix, and reconstructs it with the canonical
registry.redhat.io path. if the csv is not available (e.g., dev/odh
environments without olm), falls back to a :latest tag. an explicit
POSTGRES_IMAGE env var override is also supported.
Signed-off-by: Chaitanya Kulkarni <chkulkar@redhat.com>
Made-with: Cursor
0 commit comments