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

VC-36545: Collect the secret's labels #581

Merged
merged 2 commits into from
Oct 3, 2024
Merged

Conversation

maelvls
Copy link
Member

@maelvls maelvls commented Oct 3, 2024

Ref: VC-36545

This PR makes sure labels are being pushed for Secret resources.

Note to the reviewer: I took the liberty of rewriting the tests. The best approach would have been to write a minimal commit with the feature and test changes, and then refactor the tests... but since Olu would prefer this being shipped as part of 1.1.0, I chose not to bother trying to separate the changes from the test refactoring.

Tests

The unit tests cover the changes, so I haven't proceeded with manual e2e tests.

Because of a mistake I made in the indexing, the "case 1" was only
checking that all the remaining chars in the last line but the last char
was made of indentation: in the example in the commit title, it was
looking at "\t\t" rather than "\t\t}", thus wrongly going in the "case 1".
@maelvls maelvls changed the title VC-36545: collect the secret's labels VC-36545: Collect the secret's labels Oct 3, 2024
@maelvls maelvls merged commit e85619d into master Oct 3, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants