Skip to content

Helm chart v2.15.0 is creating testing resources during helm install #1476

Closed
@robinkb

Description

/kind bug

What happened?

Running a diff to upgrade our aws-ebs-csi-driver Helm chart to v2.15.0 shows that it is creating resources that are used for testing. These resources were introduced in #1454. The resources are located in charts/aws-ebs-csi-driver/templates/tests/helm-tester.yaml.

What you expected to happen?

The chart does not deploy resources related to testing unless I run helm test.

How to reproduce it (as minimally and precisely as possible)?

Run helm template against chart version 2.15.0. Resources like a ServiceAccount named helm-sa will be rendered.

Anything else we need to know?:

I'm not very familiar with how Helm's test mechanisms, but I think that they are missing the helm.sh/hook: test annotation. The Pod is marked with this annotation, and is not being created.

Environment

Not relevant.

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions