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 8d3af4d
Browse filesBrowse the repository at this point in the historyBrowse files
authored
fix: prefix extension and tablespace volume names to avoid collisions (#9973)
Add namespace prefixes to extension and tablespace volume names so they
cannot collide with system volumes (pgdata, shm, pg-wal, scratch-data,
projected) or with each other. Extensions get an "ext-" prefix,
tablespaces get a "tbs-" prefix.
Webhook validation rejects names that produce duplicate volume names
after K8s name sanitization, for both extensions and tablespaces.
Migration logic normalizes old unprefixed volume names during pod spec
comparison, preventing unnecessary pod restarts on upgrade. The operator
upgrade E2E fixtures now include a tablespace to exercise this path.
Closes#9972
Signed-off-by: Marco Nenciarini <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Signed-off-by: Niccolò Fei <[email protected]>
Co-authored-by: Armando Ruocco <[email protected]>
Co-authored-by: Niccolò Fei <[email protected]>
0 commit comments