eclipse-symphony / symphony

Symphony project
MIT License
38 stars 29 forks source link

Make API standalone consistent with k8s mode? #304

Open LeiQL opened 5 months ago

LeiQL commented 5 months ago

K8s mode checks container existence when users create a versioned object (catalog, campaign, target, solution, instance). If the relevant object does not exist, the creation will be blocked. And spec.rootResource and metadata.ownerReferences are required for versioned object. If container exists and ownerReferences is not set, mutation webhook handle the set-up.

Use this issue to discuss about whether we need to make API standalone mode consistent with k8s.

msftcoderdjw commented 4 months ago

We agree API standalone should be consistent with k8s mode. We need to 1) check the spec.rootResource in objectVersion vendor, 2) consider to extend a route in objectContainer route.

msftcoderdjw commented 2 months ago

@LeiQL / @RemindD , do we still have this issue?