Skip to content

Commit

Permalink
upd(azure) ignore "secret" tag/property
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalyu committed Apr 30, 2024
1 parent 371425a commit 0bf00a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/provider/azure/keyvault/keyvault.go
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ func getSecretTag(tags map[string]*string, property string) ([]byte, error) {

// Retrieves a property value if specified and the secret value if not.
func getProperty(secret, property, key string) ([]byte, error) {
if property == "" {
if property == "" || property == "secret" { // Skip if property is empty or has the value "secret" (for yandex compatibility)
return []byte(secret), nil
}
res := gjson.Get(secret, property)
Expand Down

0 comments on commit 0bf00a2

Please sign in to comment.