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

Fix secret update #487

Merged
merged 4 commits into from
Nov 28, 2022
Merged

Fix secret update #487

merged 4 commits into from
Nov 28, 2022

Conversation

vaikas
Copy link
Contributor

@vaikas vaikas commented Nov 28, 2022

Summary

  • Fix a bug where we would remove existing fields when updating existing secrets. Add tests.

Release Note

  • Fix a bug where we would remove existing fields when updating existing secrets. Add tests.

Documentation

Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
if tt.existing != nil {
objs = append(objs, secret(tt.existing))
}
//client := fake.NewSimpleClientset(secret(tt.existing))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

k4leung4
k4leung4 previously approved these changes Nov 28, 2022
Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
@vaikas vaikas merged commit b6be37e into sigstore:main Nov 28, 2022
@vaikas vaikas deleted the fix-secret-update branch November 28, 2022 23:19
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