Replies: 1 comment
-
|
All of the resources from all of the helm charts in the openebs scope go to the helm release namespace. The namespace cannot be set explicitly for dependencies. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to install the OpenEBS Helm chart (version
4.1.0) into a customopenebsnamespace, but it seems like some templates do not set the.metadata.namespace, neither through.Release.Namespacenor through a custom value. This results in some resources being created in thedefaultnamespace, e.g.serviceaccount/openebs-localpv-provisionerwhileserviceaccount/openebs-pre-upgrade-hookis created in the desired (openebs) namespace.I'm very experienced with Helm and tested a lot of settings, but I also wonder why this is not a problem anyone is facing too (checked GitHub issues and other discussions). Simply following the official Helm installation documentation will result in this broken setup so it should be noticed somehow.
Here's the command I used to check the resulting manifests, using Helm's
templatecommand:The
openebsHelm chart version 4.1.0 uses version4.0.0of thedynamic-localpv-provisionerHelm chart where e.g. the deployment is missing thenamespacekey so it will be deployed into thedefaultnamespace.My current workaround is to use the Kustomize Helm feature that sets the namespace for all resources that are namespaced.
So to summarize my questions: Is this a know problem or did I miss something, e.g. a value key where the target namespace for each subchart can be customized?
Beta Was this translation helpful? Give feedback.
All reactions