Commit 592d089
[cifmw_helpers] Fix CRC certificate renewal wait using kubeconfig
The oc login command in crc_start.yml was missing the -p (password)
flag, causing every retry to fail with 401 Unauthorized regardless
of cluster health. This code path was never exercised until ~2026-06-03
when the CRC image certificates expired, breaking all CRC-based
molecule jobs.
Replace oc login with oc get nodes using the CRC kubeconfig file.
This avoids the OAuth dependency during certificate renewal and does
not require credentials. Also increase retries from 90 to 150 (~25
minutes) to cover the observed recovery time.
Signed-off-by: Vito Castellano <vcastell@redhat.com>1 parent 3bcd0bf commit 592d089
1 file changed
Lines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
19 | 17 | | |
20 | 18 | | |
0 commit comments