fix(pgadmin): switch standalone pgAdmin to python3.12 site-packages path#4500
Merged
crunchyheath merged 4 commits intoMay 29, 2026
Merged
Conversation
The new internal-registry pgAdmin image
(registry.internal.crunchydata.com/gitlab/crunchy-pgadmin4-ubi9@sha256:
b10575053e71e820ae15747f5e11e543296f0dafeb5513bbf44a8053b5cd7c1a) ships
pgadmin4 under /usr/local/lib/python3.12/site-packages/pgadmin4. The
previous developers.crunchydata.com image was on python3.11, so the
operator hard-codes that path. The startup script generated by the
operator does `cd "$PGADMIN_DIR"`, which fails on the new image with:
cd: /usr/local/lib/python3.11/site-packages/pgadmin4:
No such file or directory
The container exits 1 immediately and the pod ends up in
CrashLoopBackOff. This was caught running the
standalone-pgadmin-user-management kuttl suite against the new image.
* internal/controller/standalone_pgadmin/config.go: bump pgAdminDir
from python3.11 -> python3.12 so the generated startup script's
`cd "$PGADMIN_DIR"` succeeds.
* internal/controller/standalone_pgadmin/pod_test.go: refresh both
golden pod-spec fixtures to match the new path.
andrewlecuyer
approved these changes
May 29, 2026
crunchyheath
approved these changes
May 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The new internal-registry pgAdmin image
(registry.internal.crunchydata.com/gitlab/crunchy-pgadmin4-ubi9@sha256: b10575053e71e820ae15747f5e11e543296f0dafeb5513bbf44a8053b5cd7c1a) ships pgadmin4 under /usr/local/lib/python3.12/site-packages/pgadmin4. The previous developers.crunchydata.com image was on python3.11, so the operator hard-codes that path. The startup script generated by the operator does
cd "$PGADMIN_DIR", which fails on the new image with:The container exits 1 immediately and the pod ends up in CrashLoopBackOff. This was caught running the
standalone-pgadmin-user-management kuttl suite against the new image.
cd "$PGADMIN_DIR"succeeds.Checklist:
Type of Changes:
What is the current behavior (link to any open issues here)?
What is the new behavior (if this is a feature change)?
Other Information: