Skip to content

Bug: helm namespace scope not respected in telegraf charts #753

@dizzzan

Description

@dizzzan

When passing a namespace flag to helm, the namespace is not included in the chart templates for some objects. Result is that telegraf is always deployed to default namespace.

Chart version: 1.8.65

Example: only Role and RoleBinding use the namespace parameter.

$ helm template influxdata/telegraf -n MYNS | grep -B5 MYNS
level=WARN msg="unable to find exact version; falling back to closest available version" chart=telegraf requested="" selected=1.8.65
# Source: telegraf/templates/role.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  name: release-name-telegraf
  namespace: MYNS
--
    app.kubernetes.io/name: telegraf
    app.kubernetes.io/instance: release-name
subjects:
  - kind: ServiceAccount
    name: release-name-telegraf
    namespace: MYNS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions