Terraform v0.12.29
+ provider.datadog v2.12.0
+ provider.google v3.32.0
+ provider.google-beta v3.32.0
+ provider.helm v1.2.4
+ provider.http v1.2.0
+ provider.kubernetes v1.11.4
+ provider.null v2.1.2
+ provider.random v2.3.0
provider "helm" {
kubernetes {
host = "https://${module.gke_cluster.endpoint}"
token = data.google_client_config.default.access_token
cluster_ca_certificate = base64decode(module.gke_cluster.ca_certificate)
}
}
resource "helm_release" "datadog_agent" {
name = "datadog-agent"
chart = "stable/datadog"
version = "2.3.41"
namespace = kubernetes_namespace.xxx.id
verify = true
set_sensitive {
name = "datadog.apiKey"
value = var.datadog_api_key
}
}
Error: failed to download "stable/datadog" (hint: runninghelm repo updatemay help)
The Helm chart should have installed without issue.
Error: failed to download (hint: runninghelm repo updatemay help)
terraform applyThis ONLY occurs when verify = true is in use. If it is set to false then this works without issue and installs properly.
@onlydole does this only occur with terraform or does the chart exhibit the same behaviour when the --verify option is used directly with helm?
@aareet - good catch! I do get an error with Helm when adding --verify
helm install datadog-agent --set datadog.apiKey=xxx stable/datadog --verify
Error: failed to download "stable/datadog" (hint: running `helm repo update` may help)
Thanks for checking @onlydole , I think we can close this one since it seems to be an upstream issue with the chart. That's what we found with issues similar to this one in the past as well.
Absolutely agree - thank you, @aareet!
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!