-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: print-columns and ready condition aggregate (#104)
Added some better reasons to conditions and use `Ready` condition as aggregate for all other conditions present. For example if the poolManager is not ready `Ready=False` with a `Reason=ComponentNotReady` and more details provided in the separate `PoolManager` condition: ```yaml status: conditions: - lastTransitionTime: "2024-03-11T13:34:50Z" message: Pool Manager is not running reason: ComponentNotReady status: "False" type: Ready - lastTransitionTime: "2024-03-11T13:34:50Z" message: 'failed to update tools for repo cnt-dev/rthalho-test: fetching tools: Unauthorized' reason: PoolManagerFailure status: "False" type: PoolManager - lastTransitionTime: "2024-03-05T09:27:24Z" message: "" reason: FetchingSecretRefSuccess status: "True" type: SecretReference id: 70056770-a244-4fa4-b347-3b5d03cda874 ``` and fixed print columns, so with the `-owide` flag one gets more details about the current state ![image](https://github.com/mercedes-benz/garm-operator/assets/48678421/a3ca5b09-c12b-4557-bbb2-c7b62468addd)
- Loading branch information
1 parent
3816a7a
commit 700efd7
Showing
18 changed files
with
226 additions
and
116 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
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
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
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
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
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
Oops, something went wrong.