Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

DRAFT --- set sane defaults for workload create/apply --service-ref flag #471

Open
heyjcollins opened this issue Feb 14, 2023 · 0 comments
Labels
enhancement New feature or request MIGRATED-MIGRATED Migrated to private repo needs-pm needs-triage

Comments

@heyjcollins
Copy link
Contributor

heyjcollins commented Feb 14, 2023

This is placeholder and requires further analysis by PM.

Description of problem

To bind a service to a workload via the --service-ref flag, someone must remember (and type correctly) <resource.owner>/<version>:<resource.kind>:<name>.
This is likely to be error-prone and burdensome.
Providing sane default values for the majority of the required value will address a good deal of this pain in a significant portion of use-cases

Proposed solution

If end-user provides only a single value for --service-ref, CLI should assume the <name> has been specified and should set [services.apps.tanzu.vmware.com:ResourceClaim](http://services.apps.tanzu.vmware.com/v1alpha1:ResourceClaim) by default

Given I've provided `--service-claim rmq1`
When I `tanzu apps workload create/apply` a workload
Then the apps plugin will submit XXXXXXX

Example

<Code snippets that illustrate the when/then blocks>

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

@heyjcollins heyjcollins added the MIGRATED-MIGRATED Migrated to private repo label Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request MIGRATED-MIGRATED Migrated to private repo needs-pm needs-triage
Projects
None yet
Development

No branches or pull requests

1 participant