Comments all lines from files in ansible-imported-configs after import from ansible #1347
Labels
type/feature-request
Categorizes issue as related to a new feature.
Milestone
Feature Request
Is your feature request related to a problem? Please describe:
https://asktug.com/t/topic/69833
Describe the feature you'd like:
After copying configs from
ansible-imported-configs
tometa.yaml
, we should comments all lines inansible-imported-configs
.Why the featue is needed:
It's a normal demand that the user may delete some configs from
meta.yaml
viatiup cluster edit-config
, however, for imported configs, there is another copy inansible-imported-configs
so that the deleting action won't work unless deleting configs fromansible-imported-configs
too because we will merge configs fromansible-imported-configs
.So after copying
ansible-imported-configs
tometa.yaml
, we should comments all lines inansible-imported-configs
, by this way, there is only one copy of that config.We can't delete
ansible-imported-configs
directly because we should keep the merging behavior for old clusters whoseansible-imported-configs
wasn't copyed intometa.yaml
.Describe alternatives you've considered:
Teachability, Documentation, Adoption, Migration Strategy:
The text was updated successfully, but these errors were encountered: