Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change owner of crt/key files to haproxy pid #1004

Merged
merged 1 commit into from May 28, 2023
Merged

Change owner of crt/key files to haproxy pid #1004

merged 1 commit into from May 28, 2023

Conversation

jcmoraisjr
Copy link
Owner

HAProxy Ingress v0.14 and older starts as root by default and create files as 0600 that should be read by HAProxy. When HAProxy runs as a sidecar and stars as non root (default since its 2.4) it won't have permission to read those files. This update makes files generated as 0600 (crt/key) having its owner to PID 99, which's the PID used by HAProxy containers.

HAProxy Ingress v0.14 and older starts as root by default and create
files as 0600 that should be read by HAProxy. When HAProxy runs as a
sidecar and stars as non root (default since its 2.4) it won't have
permission to read those files. This update makes files generated as
0600 (crt/key) having its owner to PID 99, which's the PID used by
HAProxy containers.
@jcmoraisjr
Copy link
Owner Author

#978

@jcmoraisjr jcmoraisjr merged commit 418cb3b into master May 28, 2023
1 check passed
@jcmoraisjr jcmoraisjr deleted the jm-crt-pid branch May 28, 2023 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant