Commit de96cea
fix: enable healthcheck with missing identity
This patch fixes an issue that caused the lack of the health check
against the provider API server when access was configured through a
control plane secret. With this fixwhen the ForeignCluster controller
does not found an Identity resource for the given cluster it looks
for control plane secrets to set the APIServer URL in the status,
used then for the health check.1 parent b0734d0 commit de96cea
File tree
1 file changed
+22
-2
lines changed- pkg/liqo-controller-manager/core/foreigncluster-controller
1 file changed
+22
-2
lines changedLines changed: 22 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
298 | 297 | | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
299 | 319 | | |
300 | | - | |
| 320 | + | |
301 | 321 | | |
302 | 322 | | |
303 | 323 | | |
| |||
0 commit comments