-
Notifications
You must be signed in to change notification settings - Fork 173
Improve secret handling by logging missing secrets and deduplicating … #95
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
Conversation
kgprs
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! Just a few small changes
| for name := range uniqueSecretNames { | ||
| secretNames = append(secretNames, name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this can be just secretNames := maps.Keys(uniqueSecretNames)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the comments. It has been updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, I think you missed this comment where we can replace the for-loop though secretNames := maps.Keys(uniqueSecretNames) or maybe forgot to push it
| for name := range uniqueSecretNames { | ||
| secretNames = append(secretNames, name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, I think you missed this comment where we can replace the for-loop though secretNames := maps.Keys(uniqueSecretNames) or maybe forgot to push it
slimslenderslacks
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's merge this
docker#95) * Improve secret handling by logging missing secrets and deduplicating secret names * Refactor secret deduplication to use struct for improved memory efficiency
docker#95) * Improve secret handling by logging missing secrets and deduplicating secret names * Refactor secret deduplication to use struct for improved memory efficiency
…secret names
What I did
Related issue
closes #91 #86
(not mandatory) A picture of a cute animal, if possible in relation to what you did