[FEATURE] Add instanceName
and bindingName
for CloudManagement CRD
#73
Labels
instanceName
and bindingName
for CloudManagement CRD
#73
Is your feature request related to a problem? Please describe.
The
Cloudmanagement
resource currently usesmedatdata.name
as a name in BTP.Since the metadata should be related only to k8s internal aspects thats not a good design choice. It also violates the idea of having everything payload-relevant in the
spec.forProvider
.It also not really possible to import a resource without using the same name or letting it change it.
Describe the solution you'd like
It makes sense to follow the same approach as with the
ServiceManager
kind. It allows to specify anserviceInstanceName
as well as aserviceBindingName
. Those should be optional. If none is specified I would argue to use a static default value rather then themetadata.name
. Same approach is used in theServiceManager
as well, so the implementation can be pretty much copied.More precise requirements to meet
v1alpha2
version. A Conversion should be done implicitly in this caseThe text was updated successfully, but these errors were encountered: