Commit 4db3502
authored
kube generic: fix feature_gates extraArgs format for kubeadm v1beta3 (#851)
The kubeadm v1beta3 API expects extraArgs as a map (key: value) not an
array of objects (name/value). This was causing cluster creation to fail
with: "json: cannot unmarshal array into Go struct field
APIServer.apiServer.extraArgs of type map[string]string"
Changes:
- config_bootstrap.yaml: Use map format for extraArgs instead of array
- __init__.py: Remove premature "=true" append since template handles it1 parent ea18b6f commit 4db3502
2 files changed
+12
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
247 | | - | |
248 | | - | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
73 | 75 | | |
74 | | - | |
75 | | - | |
| 76 | + | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | | - | |
79 | | - | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | | - | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
0 commit comments