eclipse-symphony / symphony

Symphony project
MIT License
37 stars 29 forks source link

Evaluate expressions in spec.metadata #232

Open msftcoderdjw opened 6 months ago

msftcoderdjw commented 6 months ago

Some target provider, such as k8s target provider, needs to retrieve information from spec.metadata. While spec.metadata is not evaluated.

image

Existing evaluation only evaluates component.metadata and component.properties.

https://github.com/eclipse-symphony/symphony/blob/5785f0321395de5a4a4d04a7cea74eb6cdc40f09/api/pkg/apis/v1alpha1/utils/parser.go#L1285-L1309

msftcoderdjw commented 6 months ago

Mark this as P1 since no customers ask for this feature. It is nice to have we can evaluate spec.metadata.