Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cce_addon with configuration #1039

Closed
littlejo opened this issue Apr 2, 2021 · 3 comments · Fixed by #1131
Closed

cce_addon with configuration #1039

littlejo opened this issue Apr 2, 2021 · 3 comments · Fixed by #1131

Comments

@littlejo
Copy link

littlejo commented Apr 2, 2021

Hello,

i tried to install autoscaler cce addon:

resource "huaweicloud_cce_addon" "autoscaler" {
    cluster_id    = huaweicloud_cce_cluster.this.id
    template_name = "autoscaler"
    version       = "1.17.8"
}

But it does not work because there is no configuration.

In documentation, i read:

values - (Optional, List, ForceNew) Add-on template installation parameters. These parameters vary depending on the add-on.

The values block supports:

basic - (Required, Map) Key/Value pairs vary depending on the add-on.
custom - (Optional, Map) Key/Value pairs vary depending on the add-on.

https://registry.terraform.io/providers/huaweicloud/huaweicloud/latest/docs/resources/cce_addon#values

But how to find key/value? Where is it documented?

@Lance52259
Copy link
Contributor

@littlejo values is the installation parameter of the addon template. We will provide a data-source for filtering and querying the addon template in the future.

@nttd-dongxuguo
Copy link

@Lance52259 Hi,cce addon is not supported in version 1.23.1 ?

@Lance52259
Copy link
Contributor

Not yet. We are waiting for API support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants