Fix identity_token -> identitytoken for containerd toml

pull/1213/head
Erik Wilson 2019-12-17 20:13:31 -07:00
parent 52c8e8d5c5
commit 6875b11dd2
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ const ContainerdConfigTemplate = `
{{ if $v.Auth.Username }}username = "{{ $v.Auth.Username }}"{{end}}
{{ if $v.Auth.Password }}password = "{{ $v.Auth.Password }}"{{end}}
{{ if $v.Auth.Auth }}auth = "{{ $v.Auth.Auth }}"{{end}}
{{ if $v.Auth.IdentityToken }}identity_token = "{{ $v.Auth.IdentityToken }}"{{end}}
{{ if $v.Auth.IdentityToken }}identitytoken = "{{ $v.Auth.IdentityToken }}"{{end}}
{{end}}
{{ if $v.TLS }}
[plugins.cri.registry.configs."{{$k}}".tls]