Skip to content

test resources get created #5

@mhrivnak

Description

@mhrivnak

Helm charts can have one or more templates for testing purposes. This is documented here:

https://docs.helm.sh/developing_charts/#chart-tests

The helm template command will render all templates, including any related to testing. So when the service bundle provisions, it ends up creating those resources.

This image should have a way to exclude test-related resources from provision and deprovision.

One possibility is to just identify any pod definitions that have the annotation helm.sh/hooks: test-success or helm.sh/hooks: test-failure and filter them out of the manifest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions