Question on required 'resources' attribute
I noticed that the container resources attribute is marked as required in the spec. Is it intended to be required?
https://github.com/oam-dev/spec/blob/master/3.component_model.md#container
But none of the component schematic examples in this repo have resources configuration:
https://github.com/oam-dev/samples
Similarly there are examples in the Rudr repo without resources config, and the implementation has default values for CPU and memory requirements.
https://github.com/oam-dev/rudr/blob/master/examples/voting/components.yaml
https://github.com/oam-dev/rudr/blob/master/src/schematic/component.rs#L567-L579
Ref https://github.com/oam-dev/spec/issues/58, https://github.com/oam-dev/spec/issues/182, and https://github.com/oam-dev/rudr/pull/435.
We sort of ended up with different opinions. Time to revisit it.
We still have an open PR for this: #218