Replies: 4 comments 10 replies
|
Definitely. Seems almost like a weakness in JOSDK, IMHO secrets should never be leaked in a log. |
0 replies
|
Yep, not on debug level, will issue a fix. |
7 replies
|
@csviri SSABasedGenericKubernetesResourceMatcher has the same issue: and it looks like a couple of trace logs as well. |
3 replies
|
More generally speaking, maybe we should consider reworking the logging in JOSDK for v5 to align better with observability requirements? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
When the operator is creating a secret it will log at a debug level something like:
2023-07-27 18:31:50,503 DEBUG [io.jav.ope.pro.dep.AbstractDependentResource] (pool-18-thread-1) Creating dependent Secret(apiVersion=v1, data={username=YWRtaW4=, password=OWI0NDliZjM5MTI1NGNlMzg3OWFkNDBkOGYzM2E5MjE=}, immutable=null, kind=Secret, metadata=ObjectMeta(annotations={}, creationTimestamp=null, deletionGracePeriodSeconds=null, deletionTimestamp=null, ...
Should the data / stringData be redacted?
cc @vmuzikar
All reactions