Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Allow Nomad sentinel policy override on install #671

Merged
merged 2 commits into from
Oct 23, 2020

Conversation

chuckyz
Copy link
Contributor

@chuckyz chuckyz commented Oct 21, 2020

When running waypoint server install ... there is no way to override Nomad sentinel policies. This allows a simple override flag to allow folks to get running as quickly as possible.

@github-actions github-actions bot added the core label Oct 21, 2020
@nickethier nickethier self-requested a review October 21, 2020 21:49
@nickethier nickethier self-assigned this Oct 21, 2020
Copy link
Member

@nickethier nickethier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! Let me know if I can help with the requested change.

nomadRegionF string
nomadDatacentersF []string
nomadNamespaceF string
nomadPolicyOverrideF bool
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll need to register the flag with the cli framework for it to be available. That can be done in the NomadFlags function at the end of this file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦 I knew I missed something. Thank you.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nickethier let me know if that's good

@nickethier nickethier merged commit 8b9a88b into hashicorp:main Oct 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants