@@ -114,49 +114,49 @@ oom_score = 0
114114      conf_template = ""
115115    [plugins."io.containerd.grpc.v1.cri".registry]
116116      [plugins."io.containerd.grpc.v1.cri".registry.mirrors]
117-       <% $containerd_plugins_registry.map |Any $registry, Any $sections| { -%>
118-       <% if $sections['mirrors'] and !$sections['mirrors'].empty { -%>
117+       <%-  $containerd_plugins_registry.map |Any $registry, Any $sections| { -%>
118+       <%-  if $sections['mirrors'] and !$sections['mirrors'].empty { -%>
119119        [plugins."io.containerd.grpc.v1.cri".registry.mirrors."<%= $registry %>"]
120-         <% if $sections['mirrors']['endpoint'] { -%>
120+         <%-  if $sections['mirrors']['endpoint'] { -%>
121121          endpoint = ["<%= $sections['mirrors']['endpoint'] %>"]
122-         <% } -%>
123-       <% } -%>
124-       <% } -%>
122+         <%-  } -%>
123+       <%-  } -%>
124+       <%-  } -%>
125125      [plugins."io.containerd.grpc.v1.cri".registry.configs]
126-       <% $containerd_plugins_registry.map |Any $registry, Any $sections| { -%>
127-       <% if $sections['auth'] and !$sections['auth'].empty { -%>
126+       <%-  $containerd_plugins_registry.map |Any $registry, Any $sections| { -%>
127+       <%-  if $sections['auth'] and !$sections['auth'].empty { -%>
128128        [plugins."io.containerd.grpc.v1.cri".registry.configs."<%= $registry %>".auth]
129-         <% if $sections['auth']['username'] { -%>
129+         <%-  if $sections['auth']['username'] { -%>
130130          username = "<%= $sections['auth']['username'] %>"
131-         <% } -%>
132-         <% if $sections['auth']['password'] { -%>
131+         <%-  } -%>
132+         <%-  if $sections['auth']['password'] { -%>
133133          password = "<%= $sections['auth']['password'] %>"
134-         <% } -%>
135-         <% if $sections['auth']['auth'] { -%>
134+         <%-  } -%>
135+         <%-  if $sections['auth']['auth'] { -%>
136136          auth = "<%= $sections['auth']['auth'] %>"
137-         <% } -%>
138-         <% if $sections['auth']['identitytoken'] { -%>
137+         <%-  } -%>
138+         <%-  if $sections['auth']['identitytoken'] { -%>
139139          identitytoken = "<%= $sections['auth']['identitytoken'] %>"
140-         <% } -%>
141-       <% } -%>
142-       <% } -%>
143-       <% $containerd_plugins_registry.map |Any $registry, Any $sections| { -%>
144-       <% if $sections['tls'] and !$sections['tls'].empty { -%>
140+         <%-  } -%>
141+       <%-  } -%>
142+       <%-  } -%>
143+       <%-  $containerd_plugins_registry.map |Any $registry, Any $sections| { -%>
144+       <%-  if $sections['tls'] and !$sections['tls'].empty { -%>
145145        [plugins."io.containerd.grpc.v1.cri".registry.configs."<%= $registry %>".tls]
146-         <% if $sections['tls']['ca_file'] { -%>
146+         <%-  if $sections['tls']['ca_file'] { -%>
147147          ca_file = "<%= $sections['tls']['ca_file'] %>"
148-         <% } -%>
149-         <% if $sections['tls']['cert_file'] { -%>
148+         <%-  } -%>
149+         <%-  if $sections['tls']['cert_file'] { -%>
150150          cert_file = "<%= $sections['tls']['cert_file'] %>"
151-         <% } -%>
152-         <% if $sections['tls']['key_file'] { -%>
151+         <%-  } -%>
152+         <%-  if $sections['tls']['key_file'] { -%>
153153          key_file = "<%= $sections['tls']['key_file'] %>"
154-         <% } -%>
155-         <% if $sections['tls']['insecure_skip_verify'] { -%>
154+         <%-  } -%>
155+         <%-  if $sections['tls']['insecure_skip_verify'] { -%>
156156          insecure_skip_verify = <%= $sections['tls']['insecure_skip_verify'] %>
157-         <% } -%>
158-       <% } -%>
159-       <% } -%>
157+         <%-  } -%>
158+       <%-  } -%>
159+       <%-  } -%>
160160    [plugins."io.containerd.grpc.v1.cri".image_decryption]
161161      key_model = ""
162162    [plugins."io.containerd.grpc.v1.cri".x509_key_pair_streaming]
0 commit comments