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

Feat: Add Log Sanitization for Secret Kind in 'Helm Upgrade' Command #12183

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jul 6, 2023

  1. fix: add log sanitization for Secret kind in updateResource

    - Added a new function `desensitizeLog` to sanitize logs by replacing sensitive data in a Secret with "***".
    - Modified the `updateResource` function to use `desensitizeLog` when the kind is "Secret".
    - Added a test case for the `desensitizeLog` function to ensure it works as expected.
    
    Signed-off-by: Daniel Hu <tao.hu@merico.dev>
    daniel-hutao committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    309cad9 View commit details
    Browse the repository at this point in the history