Commit c92489f
authored
fix(ci): apply cr in nested cluster (#2319)
Description
Add retry logic around kubectl apply calls in the nested E2E Configure Virtualization step.
The workflow now writes the manifest received from stdin to a temporary file and retries the same kubectl apply command several times before failing. This covers transient Kubernetes API or DNS failures while applying ModuleSource, ModuleConfig, and ModulePullOverride resources.
---------------
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>1 parent 23794e0 commit c92489f
1 file changed
Lines changed: 27 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
971 | 971 | | |
972 | 972 | | |
973 | 973 | | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
974 | 999 | | |
975 | 1000 | | |
976 | 1001 | | |
977 | | - | |
| 1002 | + | |
978 | 1003 | | |
979 | 1004 | | |
980 | 1005 | | |
| |||
990 | 1015 | | |
991 | 1016 | | |
992 | 1017 | | |
993 | | - | |
| 1018 | + | |
994 | 1019 | | |
995 | 1020 | | |
996 | 1021 | | |
| |||
0 commit comments