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(logs/secrets): check for disallowed/non-existent secrets #274

Merged
merged 2 commits into from
Feb 21, 2022

Conversation

ecrupper
Copy link
Contributor

@ecrupper ecrupper commented Feb 18, 2022

Backport for patch release (v0.12.1).

When users inject secrets for a container that are not allowed for the event or simply do not exist, the getSecretValues function would set them to an empty string, resulting in ugly logs.

Earlier, merged PR: #272

@ecrupper ecrupper requested a review from a team as a code owner February 18, 2022 21:03
@ecrupper ecrupper self-assigned this Feb 18, 2022
@codecov
Copy link

codecov bot commented Feb 18, 2022

Codecov Report

Merging #274 (f4b5e94) into v0.12.1 (786296f) will increase coverage by 0.05%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           v0.12.1     #274      +/-   ##
===========================================
+ Coverage    77.62%   77.67%   +0.05%     
===========================================
  Files           67       67              
  Lines         4875     4873       -2     
===========================================
+ Hits          3784     3785       +1     
+ Misses         950      948       -2     
+ Partials       141      140       -1     
Impacted Files Coverage Δ
executor/linux/step.go 65.22% <100.00%> (+0.65%) ⬆️

Copy link
Contributor

@jbrockopp jbrockopp left a comment

Choose a reason for hiding this comment

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

LGTM

@jbrockopp jbrockopp added the bug Indicates a bug label Feb 21, 2022
@ecrupper ecrupper merged commit dc14224 into v0.12.1 Feb 21, 2022
@ecrupper ecrupper deleted the patch/secrets branch February 21, 2022 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants