@Cauchy @sylvia 可協助看一下哪邊錯了嗎?
apiVersion: kubekey.kubesphere.io/v1alpha2
kind: Cluster
metadata:
name: sample
spec:
hosts:
- {name: coverity-ms, address: 172.1.30.21, internalAddress: 172.1.30.21, user: userrrrrr, password: "pwddd"}
roleGroups:
etcd:
- coverity-ms
control-plane:
- coverity-ms
worker:
- coverity-ms
registry:
- coverity-ms
controlPlaneEndpoint:
## Internal loadbalancer for apiservers
# internalLoadbalancer: haproxy
domain: lb.kubesphere.local
address: ""
port: 6443
kubernetes:
version: v1.28.0
clusterName: cluster.local
autoRenewCerts: true
containerManager: containerd
etcd:
type: kubekey
network:
plugin: calico
kubePodsCIDR: 10.233.64.0/18
kubeServiceCIDR: 10.233.0.0/18
## multus support. https://github.com/k8snetworkplumbingwg/multus-cni
multusCNI:
enabled: false
registry:
type: harbor
auths:
"https://XXXXX.com":
username: user
password: "@pwd"
skipTLSVerify: true
privateRegistry: "https://XXXXX.com"
namespaceOverride: "kubesphereio"
registryMirrors: []
insecureRegistries: []
addons: []
錯誤訊息:
13:40:38 CST [InstallRegistryModule] Generate harbor config
13:40:38 CST [FATA] Failed to Parse Registry Auths configuration: [123 34 104 116 116 112 115 58 47 47 102 105 99 109 115 45 109 115 45 99 110 115 46 109 121 102 105 105 110 101 116 46 99 111 109 34 58 110 117 108 108 44 34 112 97 115 115 119 111 114 100 34 58 34 64 72 115 105 110 49 49 48 57 34 44 34 115 107 105 112 84 76 83 86 101 114 105 102 121 34 58 116 114 117 101 44 34 117 115 101 114 110 97 109 101 34 58 34 72 48 48 50 56 51 34 125]