eclipse-symphony / symphony

Symphony project
MIT License
22 stars 15 forks source link

Evaluate expressions in spec.metadata #232

Open msftcoderdjw opened 1 week ago

msftcoderdjw commented 1 week 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 1 week ago

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