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 \
|
||||
--namespace kube-system \
|
||||
--create-namespace \
|
||||
--set lb.serverURL=https://lb.example.kloud.team \
|
||||
--set lb.serverURL=https://lb.example.kloude.ir \
|
||||
--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"
|
||||
```
|
||||
|
||||
|
||||
@@ -6,14 +6,14 @@ nameOverride: ""
|
||||
fullnameOverride: ""
|
||||
|
||||
image:
|
||||
repository: registry.kloud.team/kks/kubelancloud/kks-provider-plugin
|
||||
repository: registry.kloude.ir/kks/kubelancloud/kks-provider-plugin
|
||||
tag: "latest"
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
imagePullSecrets: []
|
||||
|
||||
lb:
|
||||
serverURL: "https://lb.kloud.team"
|
||||
serverURL: "https://lb.kloude.ir"
|
||||
accessToken: ""
|
||||
existingSecret: ""
|
||||
existingSecretAccessTokenKey: access-token
|
||||
@@ -47,16 +47,16 @@ csi:
|
||||
name: storage.csi.onkksmanagement.addresslist.cloud
|
||||
sidecars:
|
||||
provisioner:
|
||||
repository: registry.kloud.team/kks/sig-storage/csi-provisioner
|
||||
repository: registry.kloude.ir/kks/sig-storage/csi-provisioner
|
||||
tag: v5.1.0
|
||||
attacher:
|
||||
repository: registry.kloud.team/kks/sig-storage/csi-attacher
|
||||
repository: registry.kloude.ir/kks/sig-storage/csi-attacher
|
||||
tag: v4.7.0
|
||||
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
|
||||
livenessProbe:
|
||||
repository: registry.kloud.team/kks/sig-storage/livenessprobe
|
||||
repository: registry.kloude.ir/kks/sig-storage/livenessprobe
|
||||
tag: v2.13.1
|
||||
storageClass:
|
||||
enabled: true
|
||||
|
||||
+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"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
#
|
||||
# When installed with charts/kks-provider-plugin, settings come from env vars instead.
|
||||
driver {
|
||||
name = "storage.csi.kloud.team"
|
||||
endpoint = "unix:///var/lib/kubelet/plugins/storage.csi.kloud.team/csi.sock"
|
||||
name = "storage.csi.kloude.ir"
|
||||
endpoint = "unix:///var/lib/kubelet/plugins/storage.csi.kloude.ir/csi.sock"
|
||||
mode = "all"
|
||||
}
|
||||
|
||||
client {
|
||||
server_url = "https://csi.kloud.team"
|
||||
server_url = "https://csi.kloude.ir"
|
||||
access_token = "REPLACE_WITH_CLUSTER_ACCESS_TOKEN"
|
||||
}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package kloudlb
|
||||
|
||||
const (
|
||||
Finalizer = "lb.kloud.team/finalizer"
|
||||
AnnotationIP = "lb.kloud.team/ip"
|
||||
AnnotationLBID = "lb.kloud.team/id"
|
||||
Finalizer = "lb.kloude.ir/finalizer"
|
||||
AnnotationIP = "lb.kloude.ir/ip"
|
||||
AnnotationLBID = "lb.kloude.ir/id"
|
||||
|
||||
Namespace = "kube-system"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user