You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While installing helm charts with dependencies on non-default namespaces with the CLI, all resources get installed in the correct namespace, but with the provider all dependency resources get installed on the default namespace, ignoring the namespace configuration.
resource"helm_release""storage" {
name="openebs"namespace="openebs"chart="openebs"repository="https://openebs.github.io/openebs"version="4.1.3"create_namespace=trueatomic=truedependency_update=trueset=[
{
name ="engines.replicated.mayastor.enabled"
value ="false"
type ="auto"
},
{
name ="engines.local.lvm.enabled"
value ="false"
type ="auto"
},
{
name ="localpv-provisioner.localpv.annotations.namespace"
value ="openebs"
type ="string"
},
{
name ="engines.local.zfs.enabled"
value ="false"
type ="auto"
}
]
}
Panic Output
module.helm.helm_release.storage: Creating...
module.helm.helm_release.storage: Still creating... [10s elapsed]
module.helm.helm_release.storage: Still creating... [20s elapsed]
module.helm.helm_release.storage: Still creating... [30s elapsed]
module.helm.helm_release.storage: Still creating... [40s elapsed]
module.helm.helm_release.storage: Still creating... [50s elapsed]
module.helm.helm_release.storage: Still creating... [1m0s elapsed]
module.helm.helm_release.storage: Still creating... [1m10s elapsed]
module.helm.helm_release.storage: Still creating... [1m20s elapsed]
module.helm.helm_release.storage: Still creating... [1m30s elapsed]
module.helm.helm_release.storage: Still creating... [1m40s elapsed]
module.helm.helm_release.storage: Still creating... [1m50s elapsed]
module.helm.helm_release.storage: Still creating... [2m0s elapsed]
module.helm.helm_release.storage: Still creating... [2m10s elapsed]
module.helm.helm_release.storage: Still creating... [2m20s elapsed]
module.helm.helm_release.storage: Still creating... [2m30s elapsed]
module.helm.helm_release.storage: Still creating... [2m40s elapsed]
module.helm.helm_release.storage: Still creating... [2m50s elapsed]
module.helm.helm_release.storage: Still creating... [3m0s elapsed]
module.helm.helm_release.storage: Still creating... [3m10s elapsed]
module.helm.helm_release.storage: Still creating... [3m20s elapsed]
module.helm.helm_release.storage: Still creating... [3m30s elapsed]
module.helm.helm_release.storage: Still creating... [3m40s elapsed]
module.helm.helm_release.storage: Still creating... [3m50s elapsed]
module.helm.helm_release.storage: Still creating... [4m0s elapsed]
module.helm.helm_release.storage: Still creating... [4m10s elapsed]
module.helm.helm_release.storage: Still creating... [4m20s elapsed]
module.helm.helm_release.storage: Still creating... [4m30s elapsed]
module.helm.helm_release.storage: Still creating... [4m40s elapsed]
module.helm.helm_release.storage: Still creating... [4m50s elapsed]
module.helm.helm_release.storage: Still creating... [5m0s elapsed]
╷
│ Error: installation failed
│
│ with module.helm.helm_release.storage,
│ on modules/helm/main.tf line 24, in resource "helm_release" "storage":
│ 24: resource "helm_release" "storage" {
│
│ release openebs failed, and has been uninstalled due to atomic being set: context deadline exceeded
╵
Steps to Reproduce
terraform apply
Expected Behavior
All resources are installed in the specified namespace openebs.
Actual Behavior
Resources from the helm chart dependencies deployed in the default namespace:
kubectl get pods -n openebs
No resources found in openebs namespace.
kubectl get pods -n default
NAME READY STATUS RESTARTS AGE
openebs-localpv-provisioner-7b8f5b78d7-mp29r 0/1 CrashLoopBackOff 5 (53s ago) 3m53s
Community Note
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
The text was updated successfully, but these errors were encountered:
While installing helm charts with dependencies on non-default namespaces with the CLI, all resources get installed in the correct namespace, but with the provider all dependency resources get installed on the default namespace, ignoring the namespace configuration.
Example:
All resources are installed in the
openebs
namespace.Terraform, Provider, Kubernetes and Helm Versions
Affected Resource(s)
Terraform Configuration Files
Panic Output
Steps to Reproduce
terraform apply
Expected Behavior
All resources are installed in the specified namespace
openebs
.Actual Behavior
Resources from the helm chart dependencies deployed in the
default
namespace:kubectl get pods -n openebs No resources found in openebs namespace. kubectl get pods -n default NAME READY STATUS RESTARTS AGE openebs-localpv-provisioner-7b8f5b78d7-mp29r 0/1 CrashLoopBackOff 5 (53s ago) 3m53s
Community Note
The text was updated successfully, but these errors were encountered: