|
94 | 94 | assert: |
95 | 95 | that: |
96 | 96 | - item.enabled is defined |
97 | | - - item.enabled | type_debug == 'bool' |
| 97 | + - item.enabled is boolean |
98 | 98 | msg: "enabled should be true or false" |
99 | 99 | with_items: |
100 | 100 | - >- |
|
153 | 153 | assert: |
154 | 154 | that: |
155 | 155 | - item.anonymousAuth is defined |
156 | | - - item.anonymousAuth | type_debug == 'bool' |
| 156 | + - item.anonymousAuth is boolean |
157 | 157 | msg: "kubelet.anonymousAuth should be true or false" |
158 | 158 | with_items: |
159 | 159 | - >- |
|
167 | 167 | assert: |
168 | 168 | that: |
169 | 169 | - item.authenticationTokenWebhook is defined |
170 | | - - item.authenticationTokenWebhook | type_debug == 'bool' |
| 170 | + - item.authenticationTokenWebhook is boolean |
171 | 171 | msg: "kubelet.authenticationTokenWebhook should be true or false" |
172 | 172 | with_items: |
173 | 173 | - >- |
|
195 | 195 | assert: |
196 | 196 | that: |
197 | 197 | - item.tlsCipherSuites is defined |
198 | | - - item.tlsCipherSuites | type_debug == "list" |
| 198 | + - item.tlsCipherSuites is sequence |
199 | 199 | msg: "kops_kubelet.tlsCipherSuites should be list(string)" |
200 | 200 | with_items: |
201 | 201 | - >- |
|
209 | 209 | assert: |
210 | 210 | that: |
211 | 211 | - item.enableProfiling is defined |
212 | | - - item.enableProfiling | type_debug == 'bool' |
| 212 | + - item.enableProfiling is boolean |
213 | 213 | msg: "kubeControllerManager.enableProfiling should be true or false" |
214 | 214 | with_items: |
215 | 215 | - >- |
|
238 | 238 | assert: |
239 | 239 | that: |
240 | 240 | - item.tlsCipherSuites is defined |
241 | | - - item.tlsCipherSuites | type_debug == "list" |
| 241 | + - item.tlsCipherSuites is iterable |
242 | 242 | msg: "kube_controller_manager.tlsCipherSuites should be list(string)" |
243 | 243 | with_items: |
244 | 244 | - >- |
|
252 | 252 | assert: |
253 | 253 | that: |
254 | 254 | - item.enableProfiling is defined |
255 | | - - item.enableProfiling | type_debug == 'bool' |
| 255 | + - item.enableProfiling is boolean |
256 | 256 | msg: "kubeScheduler.enableProfiling should be true or false" |
257 | 257 | with_items: |
258 | 258 | - >- |
|
0 commit comments