Skip to content

Namespace isn't templated #178

@harrygodwin10

Description

@harrygodwin10

I had an error from ArgoCD which sent me searching for this functionality.
I found the previously raised issue (#80), but it was closed (along with the associated PR #78) purportedly because Helm handles this functionality via helm install ... --namespace ....
This doesn't apply, however, if you're doing something other than running helm install
For example, I need to install my helmify-generated chart as a sub-chart in its own namespace (meaning I can't just set the Argo app destination namespace, as this would apply to the parent chart, too). The error Argo gives (if this is useful):

InvalidSpecError: Namespace for parent-sub-app apps/v1, Kind=Deployment is missing.;InvalidSpecError: Namespace for parent-sub-app apps/v1, Kind=Deployment is missing.

I can temporarily workaround this using -preserve-ns, but I think the aforementioned PR should also be reconsidered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions