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

container_addons doesnt update version as expected #3584

Closed
kavya498 opened this issue Feb 15, 2022 · 0 comments
Closed

container_addons doesnt update version as expected #3584

kavya498 opened this issue Feb 15, 2022 · 0 comments
Labels
service/Kubernetes Service Issues related to Kubernetes Service Issues

Comments

@kavya498
Copy link
Collaborator

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform CLI and Terraform IBM Provider Version

Affected Resource(s)

  • ibm_container_addons

Terraform Configuration Files

Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.

- addons {  
- allowed_upgrade_versions = [  
- "1.11",  
] -> null  
- deprecated = false -> null  
- health_state = "normal" -> null  
- health_status = "Addon Ready. For more info: [http://ibm.biz/addon-state](http://ibm.biz/addon-state) (H1500)" -> null  
- name = "istio" -> null  
- target_version = "1.12" -> null  
- version = "1.10" -> null  
- vlan_spanning_required = false -> null  
}  
+ addons {  
+ allowed_upgrade_versions = [  
+ "1.11",  
]  
+ deprecated = false  
+ health_state = "normal"  
+ health_status = "Addon Ready. For more info: [http://ibm.biz/addon-state](http://ibm.biz/addon-state) (H1500)"  
+ name = "istio"  
+ target_version = "1.12"  
+ version = "1.11"  
}  

Steps to Reproduce

  1. import any existing istion addon with 1.10 version
  2. terraform apply by updating addon version to 1.11

Important Factoids

As of now, provider only supports following

  1. The given addon will be updated only if the version is a target version and is present in allowed_upgrade_versions version.
  2. The given addon will be upgraded (i.e unistall and install) only if the version is a target version and is not present in allowed_upgrade_versions version.
    Provider should be able to update addon to its allowed_upgrade_versions irrespective of target_version
@github-actions github-actions bot added the service/Kubernetes Service Issues related to Kubernetes Service Issues label Feb 15, 2022
kavya498 added a commit to kavya498/terraform-provider-ibm that referenced this issue Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service/Kubernetes Service Issues related to Kubernetes Service Issues
Projects
None yet
Development

No branches or pull requests

1 participant