Fix patching on drift detection
Make sure that `/data` for configmaps are not masked Signed-off-by: Soule BA <bah.soule@gmail.com>
This commit is contained in:
parent
d2371a2e46
commit
de6588422f
|
@ -382,8 +382,7 @@ func (r *AtomicRelease) actionForState(ctx context.Context, req *Request, state
|
|||
"resource", diff.ResourceName(change.DesiredObject))
|
||||
case jsondiff.DiffTypeUpdate:
|
||||
log.V(logger.DebugLevel).Info("resource modified",
|
||||
"resource", diff.ResourceName(change.DesiredObject),
|
||||
"patch", jsondiff.MaskSecretPatchData(change.Patch))
|
||||
"resource", diff.ResourceName(change.DesiredObject))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue