fix: change kloud.team to kloude.ir
This commit is contained in:
+2
-2
@@ -93,10 +93,10 @@ func (c *Config) normalize() error {
|
||||
}
|
||||
|
||||
if c.Driver.Name == "" {
|
||||
c.Driver.Name = "storage.csi.kloud.team"
|
||||
c.Driver.Name = "storage.csi.kloude.ir"
|
||||
}
|
||||
if c.Driver.Endpoint == "" {
|
||||
c.Driver.Endpoint = "unix:///var/lib/kubelet/plugins/storage.csi.kloud.team/csi.sock"
|
||||
c.Driver.Endpoint = "unix:///var/lib/kubelet/plugins/storage.csi.kloude.ir/csi.sock"
|
||||
}
|
||||
if c.Driver.NodeID == "" {
|
||||
hostname, err := os.Hostname()
|
||||
|
||||
@@ -23,7 +23,7 @@ func TestLoadNormalizesClientDefaults(t *testing.T) {
|
||||
t.Fatalf("Load failed: %v", err)
|
||||
}
|
||||
|
||||
if cfg.Driver.Name != "storage.csi.kloud.team" {
|
||||
if cfg.Driver.Name != "storage.csi.kloude.ir" {
|
||||
t.Fatalf("unexpected driver name: %q", cfg.Driver.Name)
|
||||
}
|
||||
if cfg.Client.ServerURL != "http://192.168.84.10:9766" {
|
||||
|
||||
+2
-2
@@ -53,10 +53,10 @@ func ApplyEnvOverrides(cfg *Config) {
|
||||
cfg.Driver.Mode = CSIModeNode
|
||||
}
|
||||
if cfg.Driver.Name == "" {
|
||||
cfg.Driver.Name = "storage.csi.kloud.team"
|
||||
cfg.Driver.Name = "storage.csi.kloude.ir"
|
||||
}
|
||||
if cfg.Driver.Endpoint == "" {
|
||||
cfg.Driver.Endpoint = "unix:///var/lib/kubelet/plugins/storage.csi.kloud.team/csi.sock"
|
||||
cfg.Driver.Endpoint = "unix:///var/lib/kubelet/plugins/storage.csi.kloude.ir/csi.sock"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user