Skip to content

Bug: Change the way how we are matching provider name with managed resource #279

@Hubert-Szczepanski-SAP

Description

@Hubert-Szczepanski-SAP

Understand the Task

At the moment we are matching provider name, by looking into managed resource metadata.spec.providerConfigRef and getting name from it.
There are two issues that can happed:

  1. There is no providerConfigRef
  2. Name from provider config would = default (we can end up with few different 'default' names for different providers)
Image

Solution - get provider from apiVersion.

apiVersion: account.btp.sap.crossplane.io/v1alpha1

We then have a mapping list in the frontend:

{
  "btp-provider": [
    "btp.sap.crossplane.io"
  ],
  ...
}

Any further valuable resources.

No response

What is required to accept the Task as done.

Done Criteria

  • ...
  • Code has been reviewed by other team members
  • Internal technical Documentation created/updated
  • New / changed code is documented
  • Unit Tests created for new code or existing Unit Tests updated
  • Integration Test Suite updated
  • Enduser Documentation updated (if applicable)
  • Successful demonstration in Review

Metadata

Metadata

Labels

area/mcp-uiAll ManagedControlPlane UI related issueskind/bugkind/taskGeneral task that needs to be done.priority/lowFeature needs improvement, not urgent

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions