Commit 2d2af96
committed
🐛 Fix delete of csr if assets cannot be downloaded
Fix delete of ClusterStackRelease object in case that there is a problem
with the release assets.
Currently, the reconcileDelete function requires assets to be downloaded
properly. If this is not the case, then the object does not get deleted
and is stuck forever.
This happens for example when a user specifies a version of a
clusterstack that does not exist. Then a ClusterStackRelease object is
created, but will never get deleted again, because the downloading of
the release assets fails, as the release does not exist.
Now we have an additional check to remove the finalizer without any
further logic in case there is an issue with the release assets.
Signed-off-by: janiskemper <[email protected]>1 parent 5b4364f commit 2d2af96
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
92 | 99 | | |
93 | 100 | | |
94 | 101 | | |
| |||
0 commit comments