Can anyone explain this one, is this a bug?!? I run terraform apply
to install two terraform modules that are wrappers for helm charts, one is the CRDs, other is the actual application. The chart for CRDs gets installed, but the regular helm chart, does not, but yet, here’s the weird part, all its components are installed.
The terraform apply
(had to run a second time for another reason) fails. It fails because it cannot install the helm chart when its components fail, so the helm fails.
module "fission_crds" {
source = "../../modules/helm/fission-crds"
}
module "fission" {
source = "app.terraform.io/MyCompany/fission/helm"
version = "2.0.0"
primary_domain = "${var.region}.aws.${var.base_domain}"
fission_repository = "index.docker.io"
depends_on = [module.fission_crds]
}
Afterwards, no helm chart for fission is installed.
helm ls -A | grep fission
fission-crds default 1
But all of it’s components are installed.
k get all -n fission
NAME READY STATUS RESTARTS AGE
pod/buildermgr-58f45cf5f7-t44cr 1/1 Running 0 39h
pod/executor-65cf66f689-xwj88 1/1 Running 0 39h
pod/kubewatcher-6778dc9959-w7j9g 1/1 Running 0 39h
pod/mqtrigger-keda-849d9c8d8b-zxlf7 1/1 Running 0 39h
pod/router-6d9954f848-d9m2p 1/1 Running 0 39h
pod/storagesvc-5c8bb4fbc5-7dmzk 1/1 Running 0 39h
pod/timer-b496d64b9-4zps7 1/1 Running 0 39h
pod/webhook-54f8479989-tqx89 1/1 Running 0 39h
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/executor ClusterIP 172.20.60.50 <none> 80/TCP 39h
service/router ClusterIP 172.20.145.226 <none> 80/TCP 39h
service/storagesvc ClusterIP 172.20.32.153 <none> 80/TCP 39h
service/webhook-service ClusterIP 172.20.100.61 <none> 443/TCP 39h
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/buildermgr 1/1 1 1 39h
deployment.apps/executor 1/1 1 1 39h
deployment.apps/kubewatcher 1/1 1 1 39h
deployment.apps/mqtrigger-keda 1/1 1 1 39h
deployment.apps/router 1/1 1 1 39h
deployment.apps/storagesvc 1/1 1 1 39h
deployment.apps/timer 1/1 1 1 39h
deployment.apps/webhook 1/1 1 1 39h
NAME DESIRED CURRENT READY AGE
replicaset.apps/buildermgr-58f45cf5f7 1 1 1 39h
replicaset.apps/executor-65cf66f689 1 1 1 39h
replicaset.apps/kubewatcher-6778dc9959 1 1 1 39h
replicaset.apps/mqtrigger-keda-849d9c8d8b 1 1 1 39h
replicaset.apps/router-6d9954f848 1 1 1 39h
replicaset.apps/storagesvc-5c8bb4fbc5 1 1 1 39h
replicaset.apps/timer-b496d64b9 1 1 1 39h
replicaset.apps/webhook-54f8479989 1 1 1 39h