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

kuma-dp: if --config-dir argument is not set, automatically create a temp dir #261

Merged

Conversation

yskopets
Copy link
Contributor

Summary

Previously, kuma-dp had --config-dir option set to /tmp/kuma.io/envoy by default.

If 2 kuma-dp instances were started on the same machine, both of them would persist generated config file at /tmp/kuma.io/envoy/bootstrap.yaml, overwriting each other.

Full changelog

  • the new default value for --config-dir is empty
  • in that case kuma-dp will create a temporary dir, use it to store generated Envoy config, and remove that directory on exit

@yskopets yskopets force-pushed the feature/support-multiple-envoys-on-the-same-host branch from 4a8d3d7 to 0f48740 Compare September 13, 2019 20:07
@jakubdyszkiewicz jakubdyszkiewicz merged commit c3a2338 into master Sep 16, 2019
@jakubdyszkiewicz jakubdyszkiewicz deleted the feature/support-multiple-envoys-on-the-same-host branch September 16, 2019 06:32
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.

None yet

2 participants