This repository was archived by the owner on Sep 17, 2024. It is now read-only.
Support fleet-server-service-token during bootstrap#1096
Merged
adam-stokes merged 2 commits intomasterfrom Apr 27, 2021
Merged
Conversation
Replaces the username/password bootstrap with a fleet service token Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com>
Contributor
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
Trends 🧪💚 Flaky test reportTests succeeded. Expand to view the summary
Test stats 🧪
|
Contributor
|
Let's merge #1078 first, so that all scenarios use fleet server. |
mdelapenya
reviewed
Apr 27, 2021
cachedout
approved these changes
Apr 27, 2021
Contributor
|
This pull request is now in conflict. Could you fix it @adam-stokes? 🙏 |
mdelapenya
added a commit
to mdelapenya/e2e-testing
that referenced
this pull request
Apr 27, 2021
* master: Support fleet-server-service-token (elastic#1096) fix: use wider selector for ARM workers (elastic#1103) feat: bootstrap fleet-server for the deployment of regular elastic-agents (elastic#1078) fix: use proper variable name (elastic#1102) fix: branch_specifier is needed (elastic#1097) Move kubernetes/kubectl/kind code to internal project layout (elastic#1092) fix: update JJBB with proper values (elastic#1093) feat: support building centos/debian Docker images in multiplatform format (elastic#1091) Kubernetes autodiscover suite (elastic#1064)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces the username/password bootstrap with a fleet service token
Signed-off-by: Adam Stokes 51892+adam-stokes@users.noreply.github.com
What does this PR do?
This PR replaces the previous way we were authenticating with elasticsearch during the fleet server bootstrap. The recommended way is to not use username/password and instead use a service token. This PR updates that functionality to utilize the recommend approach.
Why is it important?
It is stated that eventually fleet server service tokens will be the only way going forward to authenticate during bootstrap.
Checklist
make noticein the proper directory)Author's Checklist
How to test this PR locally
Related issues