Meshery Docs ยท ๐ Extensibility & Reference
ErrKubeConfigFileReferenceCode-1499
Component: component / meshery-server
Code: meshery-server-1499 (ErrKubeConfigFileReferenceCode-1499)
Severity: Alert
Short description
The kubeconfig refers to files by path
Long description
certificate-authority, client-certificate, client-key and tokenFile may not be file paths in an uploaded kubeconfig.
Probable cause
- An uploaded kubeconfig is read on the Meshery Server host, which cannot and must not read files from the machine the kubeconfig came from.
Suggested remediation
- Embed the credentials instead, for example with `kubectl config view --raw --flatten --minify`, and upload the result.