mirror of
https://github.com/1Password/onepassword-operator.git
synced 2025-10-22 07:28:06 +00:00
Log a message if a file on an item is ignored due to a field with the same name
This commit is contained in:
@@ -120,6 +120,8 @@ func BuildKubernetesSecretData(fields []*onepassword.ItemField, files []*onepass
|
||||
key := file.Name
|
||||
if secretData[key] == nil {
|
||||
secretData[key] = content
|
||||
} else {
|
||||
log.Info(fmt.Sprintf("File '%s' ignored because of a field with the same name", file.Name))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user