Commit 8b04806
committed
webhook: Add validation for load balancer zone immutability
Add webhook validation to enforce Azure's requirement that availability
zones cannot be changed after a load balancer is created.
The validation checks all three load balancer types:
- APIServerLB
- NodeOutboundLB
- ControlPlaneOutboundLB
Any attempt to modify zones on an existing load balancer will be rejected
at admission time with a clear error message, preventing users from
attempting operations that would fail at the Azure API level.1 parent 51f6e1a commit 8b04806
1 file changed
+37
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
172 | 209 | | |
173 | 210 | | |
174 | 211 | | |
| |||
0 commit comments