mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 06:27:05 +00:00
Added missing secret key in the message
This commit is contained in:
parent
fccb19da9f
commit
49a966cb1a
@ -281,7 +281,7 @@ func MakePayload(mappings []v1.KeyToPath, secret *v1.Secret, defaultMode *int32,
|
||||
if optional {
|
||||
continue
|
||||
}
|
||||
errMsg := "references non-existent secret key"
|
||||
errMsg := fmt.Sprintf("references non-existent secret key: %s", ktp.Key)
|
||||
klog.Errorf(errMsg)
|
||||
return nil, fmt.Errorf(errMsg)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user