Skip to content

fix(tb-dev): use cp -r in patch-login-theme init (emptyDir rejects -a timestamp preserve)#10

Merged
aatchison merged 1 commit into
mainfrom
fix/dev-keycloak-initcontainer-cp
Jun 27, 2026
Merged

fix(tb-dev): use cp -r in patch-login-theme init (emptyDir rejects -a timestamp preserve)#10
aatchison merged 1 commit into
mainfrom
fix/dev-keycloak-initcontainer-cp

Conversation

@aatchison

Copy link
Copy Markdown
Contributor

PR #9's patch-login-theme initContainer crash-looped:

cp: preserving times for '/patched-login/.': Operation not permitted

cp -a preserves timestamps, which the emptyDir mount root rejects, and set -e aborted the init. Switch to cp -r — theme files (incl resources/) only need to be readable. Verified kubectl kustomize overlays/tb-dev clean.

🤖 Generated with Claude Code

… timestamp preserve)

The patch-login-theme initContainer crash-looped (Init:Error):
  cp: preserving times for '/patched-login/.': Operation not permitted
cp -a tries to preserve timestamps on the emptyDir mount root, which is not
permitted, and set -e aborted. cp -r copies the theme contents (incl resources/)
without the timestamp op; theme files only need to be readable.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@aatchison aatchison merged commit eecce7c into main Jun 27, 2026
1 check passed
@aatchison aatchison deleted the fix/dev-keycloak-initcontainer-cp branch June 27, 2026 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant