rbd: modify stripSecret mechanism in logGRPC()

This commit updates csi-addons spec version
and modifies logging to strip replication
request secret using csi.StripSecret, then
with replication.protosanitizer if the former
fails. This is done in order to make sure
we strip csi and replication format of secrets.

Signed-off-by: Rakshith R <rar@redhat.com>
This commit is contained in:
Rakshith R
2022-08-29 12:29:22 +05:30
committed by mergify[bot]
parent 93f6923084
commit 40134772a7
5 changed files with 200 additions and 208 deletions

2
vendor/modules.txt vendored
View File

@ -150,7 +150,7 @@ github.com/container-storage-interface/spec/lib/go/csi
# github.com/csi-addons/replication-lib-utils v0.2.0
## explicit; go 1.15
github.com/csi-addons/replication-lib-utils/protosanitizer
# github.com/csi-addons/spec v0.1.2-0.20220804080457-522edd16192e
# github.com/csi-addons/spec v0.1.2-0.20220829042231-b27a0d84b50b
## explicit
github.com/csi-addons/spec/lib/go/fence
github.com/csi-addons/spec/lib/go/identity