mirror of https://github.com/k3s-io/k3s
Added missing secret key in the message
parent
fccb19da9f
commit
49a966cb1a
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue