Commit 7403d9a
David Sariel
[openshift_setup] pre-pull RBAC proxy images on master nodes
When digest mirrors are configured, optionally pre-pull any RBAC proxy images
found in the mirror list on all master nodes. This avoids pull failures at
workload deployment time when the cluster cannot reach the original registry directly.
The feature is controlled by cifmw_openshift_setup_prepull_rbac_images
(default: true) and is skipped when no digest mirrors are defined or when no
mirrors match the RBAC proxy image pattern.
Each image is pulled via oc debug node using the node's existing kubelet auth credentials.
Failures are non-fatal and a summary of successful pulls is logged at the end.
Signed-off-by: David Sariel dsariel@redhat.com
ANVIL-1421 parent 44c0639 commit 7403d9a
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
40 | 47 | | |
41 | 48 | | |
42 | 49 | | |
| |||
0 commit comments