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

add properties.discovery.yaml support #2740

Merged
merged 1 commit into from
Mar 22, 2023
Merged

Conversation

rmfitzpatrick
Copy link
Contributor

@rmfitzpatrick rmfitzpatrick commented Mar 17, 2023

These changes add the ability to specify discovery properties in a single config.d/properties.discovery.yaml file that are merged w/ env/cli set properties.

edit: these changes also fix a bug I introduced where configDirRootRegex was using a group in a range exclusion.

@rmfitzpatrick rmfitzpatrick requested review from a team as code owners March 17, 2023 20:18
These properties can be in `config.d/properties.discovery.yaml` or specified at run time with `--set` command line options.

Each discovery property also has an equivalent environment variable form using `_x<hex pair>_` encoded delimiters for
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 plan on adding a cli helper of some kind in the future to make producing these env vars possible for the user similar to what we offer in the bundle.d template helpers.

Copy link
Contributor

@crobert-1 crobert-1 left a comment

Choose a reason for hiding this comment

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

Thanks for all of the discovery property examples and clear priority list for different ways to supply properties, super helpful!

@rmfitzpatrick rmfitzpatrick force-pushed the discopropertiesyaml branch 2 times, most recently from 9073abb to 079b62b Compare March 20, 2023 16:03
@rmfitzpatrick rmfitzpatrick force-pushed the discopropertiesyaml branch 3 times, most recently from 6caf10f to efc86c3 Compare March 20, 2023 20:04
@rmfitzpatrick rmfitzpatrick merged commit 2f8d6d3 into main Mar 22, 2023
@delete-merged-branch delete-merged-branch bot deleted the discopropertiesyaml branch March 22, 2023 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants