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: vault-log-level overwritten in pods #327

Merged
merged 6 commits into from
Feb 22, 2024
Merged

fix: vault-log-level overwritten in pods #327

merged 6 commits into from
Feb 22, 2024

Conversation

csatib02
Copy link
Member

@csatib02 csatib02 commented Feb 7, 2024

Overview

  • Wrote a test to showcase the problem mentioned in the issue.
  • Added a check, if VAULT_LOG_LEVEL is set in the container, it remains unchanged after mutation. However, if it isn't, and the vaultConfig contains the relevant field, the value is set accordingly.

Fixes #290

@csatib02 csatib02 requested a review from a team as a code owner February 7, 2024 13:55
@csatib02 csatib02 requested review from akijakya and removed request for a team February 7, 2024 13:55
@github-actions github-actions bot added the size/M Denotes a PR that changes 100-499 lines label Feb 7, 2024
pkg/webhook/pod.go Outdated Show resolved Hide resolved
csatib02 and others added 6 commits February 12, 2024 11:56
Signed-off-by: Bence Csati <csatib02@gmail.com>
Signed-off-by: Bence Csati <csatib02@gmail.com>
Signed-off-by: Bence Csati <csatib02@gmail.com>
Signed-off-by: Bence Csati <csatib02@gmail.com>
Signed-off-by: Bence Csati <csatib02@gmail.com>
Signed-off-by: Bence Csati <bcsati@cisco.com>
Copy link
Member

@akijakya akijakya left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Member

@ramizpolic ramizpolic left a comment

Choose a reason for hiding this comment

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

LGTM!

@ramizpolic ramizpolic merged commit f08d331 into bank-vaults:main Feb 22, 2024
21 checks passed
@csatib02 csatib02 deleted the fix/log-level-overwritten-in-pods branch February 22, 2024 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/M Denotes a PR that changes 100-499 lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

webhook: VAULT_LOG_LEVEL overwritten in Pods
3 participants