refactor: move registry path to const

This commit is contained in:
Jose Diaz-Gonzalez committed 2024-01-23 03:00:27 -05:00
1 parent a90f6bdee8
commit e13561ec4d
3 files changed
+5 -4

No files matched your search

+2
View File
@@ -32,6 +32,8 @@ var (
const KubeConfigPath = "/etc/rancher/k3s/k3s.yaml"
const RegistryConfigPath = "/etc/rancher/k3s/registries.yaml"
var (
runtimeScheme = runtime.NewScheme()
codecs = serializer.NewCodecFactory(runtimeScheme)