Commit bfbd1b9
Keystone Auth: Remove authorization-* args from apiserver bootstrap (#600)
In kubernetes 1.29 kubeadm is not able to authorize the admin
user because it is trying to find a webhook that doesn't yet
exist.
Solution: don't add webhook at init time but instead wait till
after kubeadm has completed and then use kustomize to patch
the kube-apiserver with the authorization-mode argument to add
"Webhook". It is possible to add this option to the kube-apiserver
arguments separately so it can just be appended to the list of args
along with the authorization/authentication config paths.
Related issue: kubernetes/cloud-provider-openstack#2575
Co-authored-by: Travis Holton <travisholton@catalystcloud.nz>1 parent e35bbc8 commit bfbd1b9
1 file changed
+27
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
| 395 | + | |
395 | 396 | | |
396 | 397 | | |
397 | 398 | | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
398 | 405 | | |
399 | 406 | | |
400 | 407 | | |
| |||
409 | 416 | | |
410 | 417 | | |
411 | 418 | | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
| 419 | + | |
417 | 420 | | |
418 | 421 | | |
419 | 422 | | |
| |||
466 | 469 | | |
467 | 470 | | |
468 | 471 | | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
469 | 491 | | |
470 | 492 | | |
471 | 493 | | |
| |||
0 commit comments