Closed johnpoth closed 3 years ago
@johnpoth The type
and provider
values can override in the ServiceBinding
resource.
hi @baijum could you elaborate a little bit ? Not sure I fully understand
@baijum I believe the example was to define the provider on the service CRD/CR rather than needing to redefine the value for each ServiceBinding
hi @baijum could you elaborate a little bit ? Not sure I fully understand
I was referring to the last paragraph in the Reconciler Implementation section of the spec, which reads like this:
If a
.spec.type
is set, thetype
entry in the application projection MUST be set to its value overriding any existing value. If a.spec.provider
is set, theprovider
entry in the application projection MUST be set to its value overriding any existing value.
But if the CRD/CR annotation itself required a mechanism to provide these values, your proposed PR looks good to me.
cc. @sbose78 @pedjak
It would be useful to allow constant values when annotating the CRD with service binding information e.g:
service.binding/provider: postgresql
This would be useful for example when filling out the
type
andprovider
information for a Database which does not change.Thanks !