Commit 49a966cb authored by Neven Miculinic's avatar Neven Miculinic

Added missing secret key in the message

parent fccb19da
...@@ -281,7 +281,7 @@ func MakePayload(mappings []v1.KeyToPath, secret *v1.Secret, defaultMode *int32, ...@@ -281,7 +281,7 @@ func MakePayload(mappings []v1.KeyToPath, secret *v1.Secret, defaultMode *int32,
if optional { if optional {
continue continue
} }
errMsg := "references non-existent secret key" errMsg := fmt.Sprintf("references non-existent secret key: %s", ktp.Key)
klog.Errorf(errMsg) klog.Errorf(errMsg)
return nil, fmt.Errorf(errMsg) return nil, fmt.Errorf(errMsg)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment