Error: could not download chart: failed to authorize: failed to fetch oauth token: unexpected status from GET request to https://xyz.azurecr.io/oauth2/token?scope=repository%3Aabc%3Apull&service=xyz.azurecr.io: 401 Unauthorized #1313
Labels
Terraform, Provider, Kubernetes and Helm Versions
Affected Resource(s)
Debug Output
null_resource.push_images_acr (local-exec): Digest:
null_resource.push_images_acr (local-exec): Pushed: xyz.azurecr.io/demo:10.3.1
null_resource.push_images_acr (local-exec): Digest:
null_resource.push_images_acr: Creation complete after 28m22s [id=]
helm_release.abc: Creating...
data.helm_template.demo: Reading...
?
¦ Error: could not download chart: failed to authorize: failed to fetch oauth token: unexpected status from GET request to https://xyz.azurecr.io/oauth2/token?scope=repository%3Aabc%3Apull&service=xyz.azurecr.io: 401 Unauthorized
¦
¦ with helm_release.demo,
¦ on main.tf line 287, in resource "helm_release" "demo":
¦ 287: resource "helm_release" "demo" {
¦
?
NOTE: In addition to Terraform debugging, please set HELM_DEBUG=1 to enable debugging info from helm.
Steps to Reproduce
terraform apply
Expected Behavior
Helm charts should get pulled successfully.
Actual Behavior
Helm charts are getting pushed successfully and present in the repository, the user has all the required permissions to pull/push helm charts to ACR, still helm_release giving 401:unauthorized error.
The text was updated successfully, but these errors were encountered: