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
go.mod
View File

@ -11,7 +11,7 @@ require (
github.com/ceph/go-ceph v0.17.0
github.com/container-storage-interface/spec v1.6.0
github.com/csi-addons/replication-lib-utils v0.2.0
github.com/csi-addons/spec v0.1.2-0.20220804080457-522edd16192e
github.com/csi-addons/spec v0.1.2-0.20220829042231-b27a0d84b50b
github.com/gemalto/kmip-go v0.0.8-0.20220721195433-3fe83e2d3f26
github.com/golang/protobuf v1.5.2
github.com/google/uuid v1.3.0