kustomize icon indicating copy to clipboard operation
kustomize copied to clipboard

Convert `resources` and `components` to be backed by a reusable generator

Open KnVerey opened this issue 3 years ago • 11 comments

This is required for the Composition KEP, so that Compositions can use these key features.

Kustomize Plugin Composition API #2299

KnVerey avatar Jan 19 '22 21:01 KnVerey

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Apr 19 '22 22:04 k8s-triage-robot

/remove-lifecycle stale

KnVerey avatar Apr 20 '22 15:04 KnVerey

For anyone interested in working on this, there is a brief description of how our generators/transformers are implemented in this comment. https://github.com/kubernetes-sigs/kustomize/issues/4671#issuecomment-1150433981

You can take the ConfigMapGenerator as an example. We want a plugin like that called ResourceGenerator, except instead of generating a ConfigMap, it should generate resources by reading from the resources field of the kustomization file.

Running make should automatically update our builtin plugins here and after that there will be some more work to hook up the resources field to invoke the new ResourceGenerator.

natasha41575 avatar Jul 11 '22 20:07 natasha41575

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Oct 09 '22 21:10 k8s-triage-robot

/kind cleanup /lifecycle frozen

KnVerey avatar Oct 11 '22 15:10 KnVerey

@KnVerey hi I have tried to work on the issue and create a pull request can you please take a look

swastik959 avatar Jun 14 '23 13:06 swastik959

Hi @swastik959, apologies, but I think this issue is complicated and your PR does not completely resolve the issue. I think this issue requires a bit more context and @koba1t is going to work on it, as he has been working on kustomize for a longer time and has the context to understand the full requirements.

Please feel free to take a look at issues labeled "good first issue" or "help wanted".

/assign @koba1t

natasha41575 avatar Jun 14 '23 15:06 natasha41575

This issue has not been updated in over 1 year, and should be re-triaged.

You can:

  • Confirm that this issue is still relevant with /triage accepted (org members only)
  • Close this issue with /close

For more details on the triage process, see https://www.kubernetes.dev/docs/guide/issue-triage/

/remove-triage accepted

k8s-triage-robot avatar Jun 13 '24 16:06 k8s-triage-robot

/triage accepte

koba1t avatar Jun 16 '24 20:06 koba1t

@koba1t: The label(s) triage/accepte cannot be applied, because the repository doesn't have them.

In response to this:

/triage accepte

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

k8s-ci-robot avatar Jun 16 '24 20:06 k8s-ci-robot

/triage accepted

koba1t avatar Jun 16 '24 20:06 koba1t