ansible: source per-client SSH rosters from coredevs#22
Open
samcm wants to merge 2 commits into
Open
Conversation
Replace the hardcoded bootstrap_default_user_authorized_keys_github_team_cl/_el lists in each client group_vars with a runtime fetch from the coredevs registry (https://coredevs.analytics.production.platform.ethpandaops.io), so client-dev access stays current without hand-editing inventory. Each client keeps a <client>_extra_github_users list for handles not yet in coredevs; it is unioned with the fetched roster. The few handles that were in the old lists but not yet in coredevs (lighthouse marcopolo/aarshkshah1992, prysm marcopolo, teku siladu) are seeded there so no one loses access.
Replace the hardcoded bootstrap_default_user_authorized_keys_github_all list with a fetch of the coredevs ethpandaops team, unioned with github_all_extra_users for handles not in the coredevs team (bharath-123).
00914bb to
44c8869
Compare
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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 hardcoded per-client
bootstrap_default_user_authorized_keys_github_team_cl/_ellists in each client group_vars with a runtime fetch from the coredevs registry (via the sameethpandaops.general.url_cachedlookup the bootstrap role already uses for.keys), so client-dev SSH access auto-updates as teams change instead of being hand-edited. Each client keeps a<client>_extra_github_userslist that is unioned with the fetched roster for handles not yet in coredevs, seeded with the few that were in the old lists but aren't in coredevs yet (lighthouse marcopolo/aarshkshah1992, prysm marcopolo, teku siladu) so no one loses access; verified every client renders an equal-or-broader roster than before (0 dropped). Theethpandaopscore list and themev-relay-1bespoke access list are unchanged.