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

config: allow exposing real secret value through marshal #487

Merged
merged 1 commit into from
Apr 15, 2024

Commits on May 15, 2023

  1. config: allow exposing real secret value through marshal

    There are external projects out there that marshal/unmarshal the
    Prometheus config that has secrets. To get the real value currently such
    horrible workarounds are in place:
    https://github.com/tkestack/kvass/blob/master/pkg/sidecar/injector.go#L175-L214
    
    Let's add a way to get the original values through the `Secret` type to
    avoid such things.
    
    Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
    GiedriusS committed May 15, 2023
    Configuration menu
    Copy the full SHA
    5ad26bf View commit details
    Browse the repository at this point in the history