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.
Makes long argspec names, which stem from recursion into the model, more meaningful by deriving the name from the recursed property class, rather than the property name. This changes yields the following examples from the deployment model:
deployment_spec_deployment_strategy_type
deployment_spec_label_selector_match_labels
deployment_spec_pod_template_spec_pod_spec_active_deadline_seconds
In addition to hopefully making the longer names be more friendly, this also adds
alisases
to the long names. Take the above examples, we get the following aliases in the respective order:strategy_type
label_selector_match_labels
pod_active_deadline_seconds
Also, adds ARGS_ATTRIBUTES_BLACKLIST as a list of attributes included in the argspec property that
module_utils/k8s_common.py
should remove when building the argument_spec. And yes, that's been updated to build an argument_spec from the data returned by the argspec property in hopes of helping Ansible contributors understand how the argumentspec gets built, and potentially impact it, if needed.