0.12.24
resource "helm_release" "cert_manager" {
name = "cert-manager"
chart = "jetstack/cert-manager"
namespace = kubernetes_namespace.cert_manager.id
version = "v0.13.0"
No changes after chart has been applied.
Every time chart is read as cert-manager. Same for stable/* charts.
This only happens in newly released 1.1 version.
# helm_release.cert_manager will be updated in-place
~ resource "helm_release" "cert_manager" {
atomic = false
~ chart = "cert-manager" -> "jetstack/cert-manager"
Temporary fix (not really that ideal) is to add:
lifecycle {
ignore_changes = [chart]
}
It seems that at some point this provider stopped supporting the chart reference in the format <repo>/<chart>. Try using a separate repository argument instead:
resource "helm_release" "cert_manager" {
name = "cert-manager"
namespace = kubernetes_namespace.cert_manager.id
repository = "https://charts.jetstack.io"
chart = "cert-manager"
version = "v0.13.0"
#...
Thanks for opening this @23doors . Looks like we've accidentally introduced this here when we added the import feature.
The fix here is to move the setting of the chart name to the import function itself, as the repository that the chart came from gets lost in the metadata helm actually stores. I think we do still want to support this format, but I suspect the best practise here is to set the repository attribute explicitly. We should also add a test for this format, as we weren't actually covering this in our acceptance tests.
Thanks, setting repository explicitly is a good enough fix for me for now!
I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!