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

acl bootstrap -json #10880

Closed
tomlankhorst opened this issue Jul 9, 2021 · 4 comments
Closed

acl bootstrap -json #10880

tomlankhorst opened this issue Jul 9, 2021 · 4 comments
Labels
help-wanted We encourage community PRs for these issues! theme/auth theme/cli type/enhancement

Comments

@tomlankhorst
Copy link

tomlankhorst commented Jul 9, 2021

Proposal

Add -json formatting to acl bootstrap

Analogous to consul acl bootstrap -format=json.

Use-cases

Easy automatic deployment of ACL in new Nomad clusters

BOOTSTRAP_TOKEN=$(nomad acl bootstrap -json | jq -r '.SecretID')

Attempted Solutions

Parse the human-readable output, but this is not stable or elegant.

BOOTSTRAP_TOKEN=$(nomad acl bootstrap | awk '/Secret/ {print $4}')

@tgross tgross added this to Needs Triage in Nomad - Community Issues Triage via automation Jul 9, 2021
@jrasell jrasell moved this from Needs Triage to Needs Roadmapping in Nomad - Community Issues Triage Jul 15, 2021
@rcoder rcoder removed this from Needs Roadmapping in Nomad - Community Issues Triage Sep 20, 2021
@mikenomitch
Copy link
Contributor

mikenomitch commented Sep 30, 2021

Hey @tomlankhorst, this definitely seems like a good idea, especially since it is in Consul as well.

Unfortunately, it isn't super high priority for the team, so I worry that the issue might sit here un-done for a while (even though its a valid request).

Would you be open to opening a PR for this?

It seems like an ideal community PR since there is pretty clear success criteria, no coupling with the rest of the codebase, and the Consul code could be used for inspiration.

@jrasell
Copy link
Member

jrasell commented Nov 4, 2021

This has now been resolved by #11411 and will be available within the Nomad 1.2.0 release.

@jrasell jrasell closed this as completed Nov 4, 2021
@tomlankhorst
Copy link
Author

Thanks a lot!

@Amier3 Amier3 added the help-wanted We encourage community PRs for these issues! label Apr 1, 2022
@github-actions
Copy link

github-actions bot commented Oct 9, 2022

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help-wanted We encourage community PRs for these issues! theme/auth theme/cli type/enhancement
Projects
None yet
Development

No branches or pull requests

5 participants