-
Notifications
You must be signed in to change notification settings - Fork 133
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 defaults to Zowe yaml configuration #4017
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Martin Zeithaml <[email protected]>
😺 Thank you for creating this PR! To publish your content to Zowe Docs, follow these required steps.
Need help? Contact the Doc Squad in the #zowe-doc Slack channel. |
Signed-off-by: Martin Zeithaml <[email protected]>
Signed-off-by: Martin Zeithaml <[email protected]>
### Configuration override | ||
### Configuration override - defaults.yaml | ||
|
||
There is a [`defaults.yaml`](https://github.com/zowe/zowe-install-packaging/blob/v3.x/staging/files/defaults.yaml) file, which defines values for global configuration and components. This file is always merged with current config(s) when `configmgr` is used. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Won't this address be v3.x/master and not v3.x/staging when this goes GA? Should this PR be targeting master or docs-staging?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The defaults.yaml
feature was added to Zowe 2.17. This should go to 2.17 and later. And V3 too.
|
||
For example, if you decide to remove `zowe.job` section by commenting or deleting, after the merging with the defaults the `zowe.job` section will be present again: | ||
|
||
**Example of user config:** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps it would be useful to show the initial configuration prior to the user config.
Signed-off-by: Martin Zeithaml <[email protected]>
Signed-off-by: Andrew Jandacek <[email protected]>
…we/docs-site into Martin-Zeithaml-defaults-yaml
Signed-off-by: Martin Zeithaml <[email protected]>
Describe your pull request here:
With Zowe 2.17, there is a
defaults.yaml
file, which is always merged with current config. There are some consequences, which should be documented.What might be confusing for users, is existing paragraph about Configuration override. This is using defaults defined inside the config only. With the
defaults.yaml
you have another sets of defaults, which makes it complicated to describe and use.Note: The
defaults.yaml
file and the merging of configs was added in 2.17.List the file(s) included in this PR:
docs/appendix/zowe-yaml-configuration.md
After creating the PR, follow the instructions in the comments.