Skip to content

Commit

Permalink
fix: containerd config tls module
Browse files Browse the repository at this point in the history
  • Loading branch information
sunlt committed Feb 13, 2025
1 parent b3b4931 commit 8548c60
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cmd/kk/pkg/container/templates/containerd_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ state = "/run/containerd"
[plugins."io.containerd.grpc.v1.cri".registry.configs."{{$repo}}".auth]
username = "{{$entry.Username}}"
password = "{{$entry.Password}}"
[plugins."io.containerd.grpc.v1.cri".registry.configs."{{$repo}}".tls]
ca_file = "{{$entry.CAFile}}"
cert_file = "{{$entry.CertFile}}"
key_file = "{{$entry.KeyFile}}"
insecure_skip_verify = {{$entry.SkipTLSVerify}}
[plugins."io.containerd.grpc.v1.cri".registry.configs."{{$repo}}".tls]
ca_file = "{{$entry.CAFile}}"
cert_file = "{{$entry.CertFile}}"
key_file = "{{$entry.KeyFile}}"
insecure_skip_verify = {{$entry.SkipTLSVerify}}
{{- end}}
{{- end}}
`)))

0 comments on commit 8548c60

Please sign in to comment.