Skip to content

Commit

Permalink
hide sensitive secret.string_data
Browse files Browse the repository at this point in the history
  • Loading branch information
mingfang committed Jan 24, 2021
1 parent ef80ea2 commit 8d97aab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions k8s/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ func IsSkipPath(path string) bool {

var sensitivePaths = []*regexp.Regexp{
regexp.MustCompile(`k8s_core_.*_secret\.data`),
regexp.MustCompile(`k8s_core_.*_secret\.string_data`),
}

func IsSensitive(path string) bool {
Expand Down

0 comments on commit 8d97aab

Please sign in to comment.