oam-kubernetes-runtime
oam-kubernetes-runtime copied to clipboard
implement Trait patch back before workload emitted
Ref to proposal https://github.com/crossplane/oam-kubernetes-runtime/blob/master/design/trait-separated-from-underlying-workload-should-patch-back.md
Signed-off-by: chengji.lsb [email protected]
Any progress on this PR? If @ifree613 doesn't have time, we can help continue to finish it. cc @wonderflow
pending on this issue https://github.com/crossplane/oam-kubernetes-runtime/issues/157
Just FYI, the strategicMergepatch is in a library at "k8s.io/apimachinery/pkg/util/strategicpatch"
//oam-k8s-runtime will periodically check the status of patch trait. If the phase of status become Ready, the oam-k8s-runtime will gather the patch data from the ConfigMap. After all patch traits gathered, oam-k8s-runtime will patch all the information into workload
i have a little problem..where is this logic,periodically check and patch @wonderflow @ifree613
when and who make the Trait from unReady to Ready?have some opinion? @wonderflow @ifee613
//All patch traits MUST be created or updated before workload emit, and oam-k8s-runtime will be pending until all patch traits are ready. i am a fish,a questioin where is the pending logic, i d not fount
@antiClocke Let's talk deep in wechat or Dingtalk, my ID is wonderflow
@antiClocke Let's talk deep in wechat or Dingtalk, my ID is wonderflow