Commit fe0d030
Allow metadata.yaml's Kind to be empty
clusterctl v1.11 started validating that the metadata.yaml file had a
`kind: Metadata` value. However, many providers hadn't populated this
field at all, resulting in errors evaluating them.
This change allows the field to be empty or missing, in addition to the
primary value.
Signed-off-by: Nolan Brubaker <[email protected]>1 parent a68028a commit fe0d030
File tree
2 files changed
+17
-1
lines changed- cmd/clusterctl/client/repository
2 files changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
117 | 119 | | |
118 | 120 | | |
119 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
191 | 205 | | |
192 | 206 | | |
193 | 207 | | |
| |||
0 commit comments