Commit a81ef96
committed
v1alpha6: Simplify v1alpha6 cluster restorer
This is a breaking change, although it should not have any negative
effects in practise.
The v1alpha6 cluster restorer had become too complex with too many
individual fields. This change reduces the number of fields to be
consistent with the v1alpha7 restorer.
With this change, an object stored as v1alpha6 with previous v1beta1
annotations could have fields in its spec restored to a semantically
equivalent but slightly different serialisation when converted to
v1beta1. Differences in the bastion and status are not affected.
In practise this should not matter for 2 reasons:
* The storage version is v1beta1, so the annotation should have been
freshly generated in the new format anyway.
* Even if it were not, and the v1alpha6 were under external control, the
external controller would observe a difference and restore it to the
previous version. It would then converted again with the new
annotation.
Note that if the object is not under external control these differences
don't matter anyway.1 parent 392edfd commit a81ef96
File tree
3 files changed
+52
-88
lines changed- api/v1alpha6
3 files changed
+52
-88
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | 83 | | |
104 | 84 | | |
105 | 85 | | |
106 | 86 | | |
107 | 87 | | |
108 | 88 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
118 | 92 | | |
119 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
120 | 105 | | |
121 | 106 | | |
122 | 107 | | |
123 | 108 | | |
124 | 109 | | |
125 | 110 | | |
126 | 111 | | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | 112 | | |
133 | 113 | | |
134 | 114 | | |
| |||
179 | 159 | | |
180 | 160 | | |
181 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
182 | 190 | | |
183 | 191 | | |
184 | 192 | | |
| |||
392 | 400 | | |
393 | 401 | | |
394 | 402 | | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
113 | 75 | | |
| 76 | + | |
114 | 77 | | |
115 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | 140 | | |
147 | 141 | | |
148 | 142 | | |
| |||
0 commit comments