Skip to content

[Bug Report]: clusterExtensionTypeName issue in the template #244

@jotamartos

Description

@jotamartos

cli command

az partnercenter marketplace offer plan technical-configuration package add

Extension version

0.2.7

Describe the bug

We found a new issue when promoting new versions to the Marketplace using the extension. We got the following error when deploying a CNAB solution in Azure

Extension type '--payloadId' is not supported in region 'westus2' for cluster type: ManagedClusters. Please refer to https://aka.ms/k8s-extensions-list-cluster for a list of supported extension types for this cluster.

When investigating the error, we found that the template the portal is trying to deploy has the following information:

"variables": {
    "clusterExtensionTypeName": "--payloadId",

However, the template we have locally before running the "az partnercenter marketplace offer plan technical-configuration package add" command includes the following, similar to what the examples include:

"variables": {
"clusterExtensionTypeName": "DONOTMODIFY",

and AFAIK, that value is overwritten during the "package add" command using the cluster-extension-type parameter. Is this assumption correct?

Thanks

To reproduce

Try to deploy the Bitnami Redis CNAB package

https://azuremarketplace.microsoft.com/en-us/marketplace/apps/bitnami.redis-cnab

Code snippet

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions