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

[cdk8s-plus] Simplify cdk8s-plus API by removing the spec nesting level #298

Closed
2 tasks
iliapolo opened this issue Aug 24, 2020 · 1 comment
Closed
2 tasks
Assignees
Labels
effort/medium 1 week tops feature-request New/Enhanced functionality wanted
Milestone

Comments

@iliapolo
Copy link
Member

Description of the feature or enhancement:

Instead of:

new kplus.Pod(this, 'Pod' {
  spec: {
    containers: ...
  }
})

Lets have this:

new kplus.Pod(this, 'Pod' {
  containers: ...
})

Use Case:

Better API ergonomics

Proposed Solution:

Other:

  • What about possibly collisions with the metadata property?
  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

This is a 🚀 Feature Request

@iliapolo iliapolo added feature-request New/Enhanced functionality wanted needs-triage Priority and effort undetermined yet labels Aug 24, 2020
@iliapolo iliapolo added this to the Beta Launch milestone Aug 24, 2020
@iliapolo iliapolo changed the title Simplify cdk8s-plus API by removing the spec nesting level [cdk8s-plus] Simplify cdk8s-plus API by removing the spec nesting level Aug 24, 2020
@SomayaB SomayaB removed the needs-triage Priority and effort undetermined yet label Aug 31, 2020
@iliapolo iliapolo added effort/medium 1 week tops p1 labels Sep 2, 2020
@iliapolo
Copy link
Member Author

Resolved by #347

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort/medium 1 week tops feature-request New/Enhanced functionality wanted
Projects
None yet
Development

No branches or pull requests

2 participants