-
-
Notifications
You must be signed in to change notification settings - Fork 146
Closed
Description
Describe the Feature
Instead of requring the full path relative to the top-level, support relative paths to the current file.
Today, we have to write:
# orgs/acme/mgmt/auto/network.yaml
import:
- orgs/acme/mgmt/auto/_defaultsInstead, we should be able to write:
# orgs/acme/mgmt/auto/network.yaml
import:
- _defaultsExpected Behavior
A clear and concise description of what you expected to happen.
Where by _default resolves to orgs/acme/mgmt/auto/_default.yaml;
Use Case
Make configurations easier to templatize without knowing the full path to the current working file.
Describe Ideal Solution
Basically, take the dirname('orgs/acme/mgmt/auto/network.yaml') and concatenate it with /_default.yaml
Alternatives Considered
Explain what alternative solutions or features you've considered.
Today, we're using cookie-cutter when generating the files:
import:
- orgs/{{ cookiecutter.namespace }}/mgmt/auto/_defaults
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done