-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ISSUE-35] Be more resilient against unexpected cluster specs
Fixes #35 When deserializing clusters discovered in the MCC instance, try each one independently rather than in bulk, and keep the ones that succeed instead of throwing them all out if just one fails. Also, this implicitly ignores clusters that do not yet have any nodes, presumably because they have just been provisioned and nodes haven't been created yet. This is because those clusters will not have a `providerStatus` object which contains information required to generate kubeconfig files, such as the `apiServerCertificate`.
- Loading branch information
1 parent
389fd30
commit ebf3a8c
Showing
2 changed files
with
16 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters