-
Notifications
You must be signed in to change notification settings - Fork 393
Closed
Labels
area/configIssues related to the configIssues related to the configkind/designMust be conceptually designedMust be conceptually designedkind/enhancementEnhancement of an existing feature / improvementEnhancement of an existing feature / improvement
Description
Is your feature request related to a problem?
No
Which solution do you suggest?
A declarative way to provide selectors for services in one place in the config.yaml
Currently, for use port-fowarding, sync, terminal, and the devspace enter command we should repeatedly provide the selector for the desired service:
devSpace:
ports:
- labelSelector:
app: api
sync:
- labelSelector:
app: api
terminal:
labelSelector:
app: apiand
devspace enter -l app=apiWhat if we could instead provide a way to map the services with they respective selectors and then just reuse it?
Ex:
services:
- name: api
labelSelector:
app: api
devSpace:
ports:
- service: api
sync:
service: api
terminal:
service: apiand
devspace enter apior
devspace enter --service apior
devspace enter -s apiI guess it will be much more clear to write config.yaml file and use the devspace enter command
/kind feature
LukasGentele, KaelBaldwin and FabianKramm
Metadata
Metadata
Assignees
Labels
area/configIssues related to the configIssues related to the configkind/designMust be conceptually designedMust be conceptually designedkind/enhancementEnhancement of an existing feature / improvementEnhancement of an existing feature / improvement