-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Entitlement
MR has no support for external name now.
We need to set it during Create and use it for matching during observe.
apiVersion: account.btp.sap.crossplane.io/v1alpha1
kind: Entitlement
metadata:
name: msq-entitlement
annotations:
crossplane.io/external-name: "<subaccount_id>,<service_name>,<plan_name>"
spec:
forProvider:
serviceName: message-queuing
servicePlanName: standard
amount: 1
subaccountRef:
name: my-subaccount
providerConfigRef:
name: account-provider-config
Composite Key
- Semantic match: serviceName, servicePlanName, per subaccount (ID of subaccount)
Acceptance Criteria
- Create sets the external-name to the external identifier (composite key)
- Observe uses the external-name annotation as primary matching key so the initial observe would match an existing resource even if it was not created in a previous reconcile of the provider
- Unit test tests the external-name matching behaviou
- we do not require the forProvider spec to be filled than
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
🧊 Blocked