From 6875b11dd20b9d43cee47debb3db32c6083473b0 Mon Sep 17 00:00:00 2001 From: Erik Wilson Date: Tue, 17 Dec 2019 20:13:31 -0700 Subject: [PATCH] Fix identity_token -> identitytoken for containerd toml --- pkg/agent/templates/templates.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/agent/templates/templates.go b/pkg/agent/templates/templates.go index 866be18ff2..a1d8940535 100644 --- a/pkg/agent/templates/templates.go +++ b/pkg/agent/templates/templates.go @@ -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]