Skip to content

Commit

Permalink
Merge pull request #8368 from rifelpet/file-warning
Browse files Browse the repository at this point in the history
Add a warning when using file:// state store
  • Loading branch information
k8s-ci-robot authored Jan 17, 2020
2 parents 85a667a + 3f8c85c commit 412ed66
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/kops/util/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 412ed66

Please sign in to comment.