@@ -114,49 +114,49 @@ oom_score = 0
114
114
conf_template = ""
115
115
[plugins."io.containerd.grpc.v1.cri".registry]
116
116
[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 { -%>
119
119
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."<%= $registry %>"]
120
- <% if $sections['mirrors']['endpoint'] { -%>
120
+ <%- if $sections['mirrors']['endpoint'] { -%>
121
121
endpoint = ["<%= $sections['mirrors']['endpoint'] %>"]
122
- <% } -%>
123
- <% } -%>
124
- <% } -%>
122
+ <%- } -%>
123
+ <%- } -%>
124
+ <%- } -%>
125
125
[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 { -%>
128
128
[plugins."io.containerd.grpc.v1.cri".registry.configs."<%= $registry %>".auth]
129
- <% if $sections['auth']['username'] { -%>
129
+ <%- if $sections['auth']['username'] { -%>
130
130
username = "<%= $sections['auth']['username'] %>"
131
- <% } -%>
132
- <% if $sections['auth']['password'] { -%>
131
+ <%- } -%>
132
+ <%- if $sections['auth']['password'] { -%>
133
133
password = "<%= $sections['auth']['password'] %>"
134
- <% } -%>
135
- <% if $sections['auth']['auth'] { -%>
134
+ <%- } -%>
135
+ <%- if $sections['auth']['auth'] { -%>
136
136
auth = "<%= $sections['auth']['auth'] %>"
137
- <% } -%>
138
- <% if $sections['auth']['identitytoken'] { -%>
137
+ <%- } -%>
138
+ <%- if $sections['auth']['identitytoken'] { -%>
139
139
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 { -%>
145
145
[plugins."io.containerd.grpc.v1.cri".registry.configs."<%= $registry %>".tls]
146
- <% if $sections['tls']['ca_file'] { -%>
146
+ <%- if $sections['tls']['ca_file'] { -%>
147
147
ca_file = "<%= $sections['tls']['ca_file'] %>"
148
- <% } -%>
149
- <% if $sections['tls']['cert_file'] { -%>
148
+ <%- } -%>
149
+ <%- if $sections['tls']['cert_file'] { -%>
150
150
cert_file = "<%= $sections['tls']['cert_file'] %>"
151
- <% } -%>
152
- <% if $sections['tls']['key_file'] { -%>
151
+ <%- } -%>
152
+ <%- if $sections['tls']['key_file'] { -%>
153
153
key_file = "<%= $sections['tls']['key_file'] %>"
154
- <% } -%>
155
- <% if $sections['tls']['insecure_skip_verify'] { -%>
154
+ <%- } -%>
155
+ <%- if $sections['tls']['insecure_skip_verify'] { -%>
156
156
insecure_skip_verify = <%= $sections['tls']['insecure_skip_verify'] %>
157
- <% } -%>
158
- <% } -%>
159
- <% } -%>
157
+ <%- } -%>
158
+ <%- } -%>
159
+ <%- } -%>
160
160
[plugins."io.containerd.grpc.v1.cri".image_decryption]
161
161
key_model = ""
162
162
[plugins."io.containerd.grpc.v1.cri".x509_key_pair_streaming]
0 commit comments