Skip to content

Apply chown to /run directory not recursively#68

Merged
hanshuai merged 1 commit intoopenblocks-dev:developfrom
limgit:develop
Nov 25, 2022
Merged

Apply chown to /run directory not recursively#68
hanshuai merged 1 commit intoopenblocks-dev:developfrom
limgit:develop

Conversation

@limgit
Copy link
Copy Markdown
Contributor

@limgit limgit commented Nov 25, 2022

Related Issue: #38

As stated in this comment, kubernetes utilizes the /run/secrets directory as read-only path, which conflicts with the chown -R /run in docker entrypoint.sh.

To resolve this issue, this PR changes the chown -R /run to chown /run. I've tested that image with the new entrypoint.sh worked well on local self-hosted environment (with very basic setup though...) and also on the kubernetes pod.

@hanshuai
Copy link
Copy Markdown
Contributor

Thanks for your contribution!

@hanshuai hanshuai merged commit bd87419 into openblocks-dev:develop Nov 25, 2022
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.

2 participants