Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Label consistency testing #4

Closed
calebhailey opened this issue Jan 27, 2021 · 1 comment
Closed

Label consistency testing #4

calebhailey opened this issue Jan 27, 2021 · 1 comment
Labels
component:tests CI tests for SensuFlow enhancement New feature or request
Milestone

Comments

@calebhailey
Copy link

Test to ensure all resource definitions have the correct label applied (i.e. don't let SensuFlow create resources that will then not be in scope for pruning). Fails if any definition is missing the configured label (default: sensu.io/workflow).

@calebhailey calebhailey added enhancement New feature or request component:tests CI tests for SensuFlow labels Jan 27, 2021
@calebhailey calebhailey added this to the Release 0.5.0 milestone Jan 27, 2021
@jspaleta
Copy link
Contributor

This is actually already in the sensuflow shell script.

Linting to make sure the required label_key exists enforced as partof the sanity_checks.
setting DISABLE_SANITY_CHECK envvar will cause this to be skipped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:tests CI tests for SensuFlow enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants