mirror of https://github.com/kubernetes/kops.git
Merge pull request #8368 from rifelpet/file-warning
Add a warning when using file:// state store
This commit is contained in:
commit
412ed66f9b
|
|
@ -118,6 +118,9 @@ func (f *Factory) Clientset() (simple.Clientset, error) {
|
|||
|
||||
f.clientset = vfsclientset.NewVFSClientset(basePath, allowVFSList)
|
||||
}
|
||||
if strings.HasPrefix(registryPath, "file://") {
|
||||
klog.Warning("The local filesystem state store is not functional for running clusters")
|
||||
}
|
||||
}
|
||||
|
||||
return f.clientset, nil
|
||||
|
|
|
|||
Loading…
Reference in New Issue