karmada icon indicating copy to clipboard operation
karmada copied to clipboard

[umbrella] support promote dependent resources automatically

Open zhy76 opened this issue 1 year ago • 1 comments

What would you like to be added: Provide an automatic promotion mechanism for dependent resources in karmadactl. When promoting a resource, all the resources that it depends on will be automatically promoted as well. For example, promoting the Secret that is dependent by a Deployment.

Why is this needed: Currently, karmadactl promote only support promote resources one by one, which is inconvenient.

Related issues: #3842 #1862

Task Decomposition:

  • [x] proposal. #4100
  • [x] support promote native dependent resources automatically. #4135
  • [x] support promote thirdparty dependent resources automatically. #4135
  • [x] support promote CRD dependent resources automatically.
    • [x] use webhook interpreter to get dependencies. #4135
    • [x] use configuration interpreter to get dependencies. #4135
  • [x] support port-forward for webhook interpreter. #4445
  • [ ] E2E tests.
  • [ ] Doc update.

Tips: Task splitting and details may change as features are developed.

zhy76 avatar Sep 06 '23 08:09 zhy76

/assign

zhy76 avatar Sep 06 '23 08:09 zhy76