-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Allow cancelling startup when performing auto-config #8157
Conversation
…I command Previously we were holding onto a raw chan and passing it into AutoEncrypt functions during startup. This is been modified so that the Agent.Start takes a context which can be cancelled to stop both auto encrypt and auto-config.
68cf769
to
4e630d7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! This makes sense to me. I had started to make a very similar change in #7609 but never got that into a state that could be merged. I'll probably close that PR now.
Changes look good, a few minor suggestions, nothing blocking.
Co-authored-by: Daniel Nephin <[email protected]>
…icorp/consul into feature/auto-config/cli-intro-token
🍒✅ Cherry pick of commit d6e0548 onto |
Co-authored-by: Daniel Nephin <[email protected]>
This PR also has a second commit to allow specifying the intro token via an environment variable.