Skip to content
Andrew Pantuso edited this page Jan 17, 2022 · 1 revision

Problematic configuration:

1. An ocmQuotaName is provided which does not have a corresponding SKU Rule in OCM

# addon.yaml
ocmQuotaName: non-existent-quota-name

A SKU Rule does not exist for this quota name.

To verify if a SKU Rule exists in OCM you can use the ocm cli:

ocm get "/api/accounts_mgmt/v1/sku_rules?search=quota_id = 'add-on|<ocmQuotaName>'"

Just replace <ocmQuotaName> with the name you would like to verify.

Correct configuration:

# addon.yaml
ocmQuotaName: addon-reference-addon
  • The provided ocmQuotaName has a SKU Rule associated with it in OCM.
Clone this wiki locally