StackStorm / stackstorm-k8s

K8s Helm Chart that codifies StackStorm (aka "IFTTT for Ops" https://stackstorm.com/) Highly Availability fleet as a simple to use reproducible infrastructure-as-code app
https://helm.stackstorm.com/
Apache License 2.0
105 stars 107 forks source link

Unable to install dependent charts for stackstorm helm chart #365

Open acharbha opened 1 year ago

acharbha commented 1 year ago

Installed helm chart however its not success.

helm install stackstorm-k8s-ha .\stackstorm-ha-0.110.0.tgz --namespace=myspace

Depended pods are failing to install due these pods are non-root and hence doesn't have access to directories.

example mongodb pod status:

CrashLoopBackOff: back-off 5m0s restarting failed container=mongodb pod=stackstorm-k8s-ha-mongodb-0_myspace(dfd854f4-05ac-4ce7-be9e-1694f3ac7fb0)

pod logs:

Advertised Hostname: stackstorm-k8s-ha-mongodb-0.stackstorm-k8s-ha-mongodb-headless.myspace.svc.cluster.local Pod name matches initial primary pod name, configuring node as a primary mongodb 14:55:30.95 mongodb 14:55:31.00 Welcome to the Bitnami mongodb container mongodb 14:55:31.00 Subscribe to project updates by watching https://github.com/bitnami/containers mongodb 14:55:31.00 Submit issues and feature requests at https://github.com/bitnami/containers/issues mongodb 14:55:31.01 mongodb 14:55:31.01 INFO ==> Starting MongoDB setup mongodb 14:55:31.03 INFO ==> Validating settings in MONGODB_* env vars... mkdir: cannot create directory '/bitnami/mongodb': Permission denied

Anyone able to fix this issue, can someone help me how to proceed with this and what changes are needed in charts.

arms11 commented 1 year ago

Looks like a dependency chart has a reported ticket here. Have you found this to be helping? https://github.com/bitnami/charts/issues/10354