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

Remove unix socket before start acme server #740

Merged
merged 1 commit into from
Feb 27, 2021
Merged

Conversation

jcmoraisjr
Copy link
Owner

An unix socket is used to answer acme challenges - it is create whenever --acme-server command-line is enabled. However it isn't removed if haproxy ingress is abruptly stopped, eg when a crash occurs. Since v0.12 an external volume is created if haproxy is running as a sidecar, leaving the unix socket file alive between restarts, causing a crashloop in the controller if the acme server is enabled. This update ensures that the unix socket file isn't present when the server is started

An unix socket is used to answer acme challenges - it is create whenever
--acme-server command-line is enabled. However it isn't removed if
haproxy ingress is abruptly stopped, eg when a crash occurs. Since v0.12
an external volume is created if haproxy is running as a sidecar,
leaving the unix socket file alive between restarts, causing a
crashloop in the controller if the acme server is enabled. This update
ensures that the unix socket file isn't present when the server is
started
@jcmoraisjr jcmoraisjr merged commit 93e1db3 into master Feb 27, 2021
@jcmoraisjr jcmoraisjr deleted the jm-acme-socket branch February 27, 2021 18:23
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.

1 participant