Skip to content

Helm chart templates are missing the namespace #1964

@ankitm123

Description

@ankitm123

I recently migrated from kustomize to helm charts for metallb. While the kutomize manifests had namespace (

namespace: metallb-system
), the helm chart templates are missing namespaces for namespace scoped resources when generating manifests using helm templates (We generate manifests using helm and then apply using kubectl).
For example:
metadata:
name: {{ include "metallb.fullname" . }}-controller
labels: {{- include "metallb.labels" . | nindent 4 }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions