Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Load profile from file #1200

Closed
FabianKramm opened this issue Oct 21, 2020 · 2 comments
Closed

Load profile from file #1200

FabianKramm opened this issue Oct 21, 2020 · 2 comments
Labels
area/config Issues related to the config kind/design Must be conceptually designed kind/feature New feature or feature request

Comments

@FabianKramm
Copy link
Collaborator

Is your feature request related to a problem?
The devspace.yaml can get very large and parts of it could be outsourced into other files.

Which solution do you suggest?
Add a new config option profiles.*.from that could look like this:

version: v1beta9
profiles:
- name: production
  from:
    # Multiple options here
    file: path/to/other/devspace.yaml # Also an url would be possible
    profile: test
    # Or from git
    git: https://github.com/my-database-server
    tag: v3.0.1
    subPath: /configuration
    profile: test
@FabianKramm FabianKramm added area/config Issues related to the config kind/feature New feature or feature request kind/design Must be conceptually designed labels Oct 21, 2020
@LukasGentele
Copy link
Contributor

The git option should have branch, hash etc ideally with the same naming as in dependencies.

What happens if parent is defines for the profile? There are 2 cases: parent in this devspace.yaml and parent in the remote devspace.yaml. are both possible? Which parent would be used in case 1?

@FabianKramm
Copy link
Collaborator Author

Implemented with v5.2.0

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
area/config Issues related to the config kind/design Must be conceptually designed kind/feature New feature or feature request
Projects
None yet
Development

No branches or pull requests

2 participants