servicebinding / spec

Specification for binding services to k8s workloads
https://servicebinding.io
Apache License 2.0
92 stars 35 forks source link

go: mark annotations and volumes as optional #219

Closed sadlerap closed 2 years ago

sadlerap commented 2 years ago

The latest version of the specification (v1) allows for the .spec.versions[*].annotations and .spec.versions[*].volumes fields of ClusterWorkloadResourceMapping resources to be optional. However, the exemplar go data structures require their existance when serializing/deserializing.

Update the canonical definition of ClusterWorkloadResourceMapping structs to be accurate.

Signed-off-by: Andy Sadler ansadler@redhat.com

sadlerap commented 2 years ago

@scothis Fixed.