fix: change kloud.team to kloude.ir
This commit is contained in:
@@ -19,9 +19,9 @@ Example install:
|
|||||||
helm install kks-provider-plugin https://github.com/kubelancloud/kks-provider-plugin/releases/download/v1.0.0/kks-provider-plugin-1.0.0.tgz \
|
helm install kks-provider-plugin https://github.com/kubelancloud/kks-provider-plugin/releases/download/v1.0.0/kks-provider-plugin-1.0.0.tgz \
|
||||||
--namespace kube-system \
|
--namespace kube-system \
|
||||||
--create-namespace \
|
--create-namespace \
|
||||||
--set lb.serverURL=https://lb.example.kloud.team \
|
--set lb.serverURL=https://lb.example.kloude.ir \
|
||||||
--set lb.accessToken="$LB_TOKEN" \
|
--set lb.accessToken="$LB_TOKEN" \
|
||||||
--set csi.serverURL=https://csi.example.kloud.team \
|
--set csi.serverURL=https://csi.example.kloude.ir \
|
||||||
--set csi.accessToken="$CSI_TOKEN"
|
--set csi.accessToken="$CSI_TOKEN"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -6,14 +6,14 @@ nameOverride: ""
|
|||||||
fullnameOverride: ""
|
fullnameOverride: ""
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: registry.kloud.team/kks/kubelancloud/kks-provider-plugin
|
repository: registry.kloude.ir/kks/kubelancloud/kks-provider-plugin
|
||||||
tag: "latest"
|
tag: "latest"
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
|
|
||||||
lb:
|
lb:
|
||||||
serverURL: "https://lb.kloud.team"
|
serverURL: "https://lb.kloude.ir"
|
||||||
accessToken: ""
|
accessToken: ""
|
||||||
existingSecret: ""
|
existingSecret: ""
|
||||||
existingSecretAccessTokenKey: access-token
|
existingSecretAccessTokenKey: access-token
|
||||||
@@ -47,16 +47,16 @@ csi:
|
|||||||
name: storage.csi.onkksmanagement.addresslist.cloud
|
name: storage.csi.onkksmanagement.addresslist.cloud
|
||||||
sidecars:
|
sidecars:
|
||||||
provisioner:
|
provisioner:
|
||||||
repository: registry.kloud.team/kks/sig-storage/csi-provisioner
|
repository: registry.kloude.ir/kks/sig-storage/csi-provisioner
|
||||||
tag: v5.1.0
|
tag: v5.1.0
|
||||||
attacher:
|
attacher:
|
||||||
repository: registry.kloud.team/kks/sig-storage/csi-attacher
|
repository: registry.kloude.ir/kks/sig-storage/csi-attacher
|
||||||
tag: v4.7.0
|
tag: v4.7.0
|
||||||
registrar:
|
registrar:
|
||||||
repository: registry.kloud.team/kks/sig-storage/csi-node-driver-registrar
|
repository: registry.kloude.ir/kks/sig-storage/csi-node-driver-registrar
|
||||||
tag: v2.12.0
|
tag: v2.12.0
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
repository: registry.kloud.team/kks/sig-storage/livenessprobe
|
repository: registry.kloude.ir/kks/sig-storage/livenessprobe
|
||||||
tag: v2.13.1
|
tag: v2.13.1
|
||||||
storageClass:
|
storageClass:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
+2
-2
@@ -93,10 +93,10 @@ func (c *Config) normalize() error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if c.Driver.Name == "" {
|
if c.Driver.Name == "" {
|
||||||
c.Driver.Name = "storage.csi.kloud.team"
|
c.Driver.Name = "storage.csi.kloude.ir"
|
||||||
}
|
}
|
||||||
if c.Driver.Endpoint == "" {
|
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 == "" {
|
if c.Driver.NodeID == "" {
|
||||||
hostname, err := os.Hostname()
|
hostname, err := os.Hostname()
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ func TestLoadNormalizesClientDefaults(t *testing.T) {
|
|||||||
t.Fatalf("Load failed: %v", err)
|
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)
|
t.Fatalf("unexpected driver name: %q", cfg.Driver.Name)
|
||||||
}
|
}
|
||||||
if cfg.Client.ServerURL != "http://192.168.84.10:9766" {
|
if cfg.Client.ServerURL != "http://192.168.84.10:9766" {
|
||||||
|
|||||||
+2
-2
@@ -53,10 +53,10 @@ func ApplyEnvOverrides(cfg *Config) {
|
|||||||
cfg.Driver.Mode = CSIModeNode
|
cfg.Driver.Mode = CSIModeNode
|
||||||
}
|
}
|
||||||
if cfg.Driver.Name == "" {
|
if cfg.Driver.Name == "" {
|
||||||
cfg.Driver.Name = "storage.csi.kloud.team"
|
cfg.Driver.Name = "storage.csi.kloude.ir"
|
||||||
}
|
}
|
||||||
if cfg.Driver.Endpoint == "" {
|
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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3,12 +3,12 @@
|
|||||||
#
|
#
|
||||||
# When installed with charts/kks-provider-plugin, settings come from env vars instead.
|
# When installed with charts/kks-provider-plugin, settings come from env vars instead.
|
||||||
driver {
|
driver {
|
||||||
name = "storage.csi.kloud.team"
|
name = "storage.csi.kloude.ir"
|
||||||
endpoint = "unix:///var/lib/kubelet/plugins/storage.csi.kloud.team/csi.sock"
|
endpoint = "unix:///var/lib/kubelet/plugins/storage.csi.kloude.ir/csi.sock"
|
||||||
mode = "all"
|
mode = "all"
|
||||||
}
|
}
|
||||||
|
|
||||||
client {
|
client {
|
||||||
server_url = "https://csi.kloud.team"
|
server_url = "https://csi.kloude.ir"
|
||||||
access_token = "REPLACE_WITH_CLUSTER_ACCESS_TOKEN"
|
access_token = "REPLACE_WITH_CLUSTER_ACCESS_TOKEN"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
package kloudlb
|
package kloudlb
|
||||||
|
|
||||||
const (
|
const (
|
||||||
Finalizer = "lb.kloud.team/finalizer"
|
Finalizer = "lb.kloude.ir/finalizer"
|
||||||
AnnotationIP = "lb.kloud.team/ip"
|
AnnotationIP = "lb.kloude.ir/ip"
|
||||||
AnnotationLBID = "lb.kloud.team/id"
|
AnnotationLBID = "lb.kloude.ir/id"
|
||||||
|
|
||||||
Namespace = "kube-system"
|
Namespace = "kube-system"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user