mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-26 01:22:51 +00:00
fix: Modify incorrect parameters
This commit is contained in:
parent
b4edf604e0
commit
a33cc48a4d
|
|
@ -64,11 +64,17 @@ state = "/run/containerd"
|
|||
{{- if .PrivateRegistry }}
|
||||
[plugins."io.containerd.grpc.v1.cri".registry.configs]
|
||||
[plugins."io.containerd.grpc.v1.cri".registry.configs.{{ .PrivateRegistry }}.auth]
|
||||
username = {{ .Auth.Username }}
|
||||
password = {{ .Auth.Password}}
|
||||
username = "{{ .Auth.Username }}"
|
||||
password = "{{ .Auth.Password}}"
|
||||
[plugins."io.containerd.grpc.v1.cri".registry.configs.{{ .PrivateRegistry }}.tls]
|
||||
ca_file = {{ .Auth.CAFile }}
|
||||
cert_file = {{ .Auth.CertFile }}
|
||||
key_file = {{ .Auth.KeyFile }}
|
||||
{{- if .Auth.CAFile }}
|
||||
ca_file = "{{ .Auth.CAFile }}"
|
||||
{{- end}}
|
||||
{{- if .Auth.CertFile }}
|
||||
cert_file = "{{ .Auth.CertFile }}"
|
||||
{{- end}}
|
||||
{{- if .Auth.KeyFile }}
|
||||
key_file = "{{ .Auth.KeyFile }}"
|
||||
{{- end}}
|
||||
insecure_skip_verify = {{ .Auth.InsecureSkipVerify }}
|
||||
{{- end}}
|
||||
|
|
|
|||
Loading…
Reference in New Issue