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

ibm_container_addons: unable to uninstall addon from cluster #70

Open
feloy opened this issue Oct 1, 2021 · 1 comment
Open

ibm_container_addons: unable to uninstall addon from cluster #70

feloy opened this issue Oct 1, 2021 · 1 comment

Comments

@feloy
Copy link

feloy commented Oct 1, 2021

I have deployed a VPC cluster with ibm_container_vpc_cluster. By default, the cluster is installed with the Block Storage for VPC addon.

I'm trying to uninstall this addon using ibm_container_addons, but cannot find the appropriate syntax.

Would you have an example of use of this module?

@kavya498
Copy link
Contributor

kavya498 commented Oct 1, 2021

@feloy, By default cluster creates block storage addon.. Either import statefile of addon resource or add below block during cluster creation and then destroy it

resource "ibm_container_addons" "addons" {
  cluster = <cluster id>
  addons {
    name    = "vpc-block-csi-driver"
    version = <addon version>
  }
}

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

No branches or pull requests

2 participants