Max Jonas Werner
173ee5fcdc
Don't log errors with missing CRDs for "get * all" commands
...
Whenever an API type is not available then both, `flux get all` and
`flux get image all` will just skip over that type instead of logging
an error message.
Before:
```
$ flux get all
✗ failed to get API group resources: unable to retrieve the complete
list of server APIs: source.toolkit.fluxcd.io/v1beta2: the server
could not find the requested resource
[...]
✗ failed to get API group resources: unable to retrieve the complete
list of server APIs: image.toolkit.fluxcd.io/v1beta2: the server could
not find the requested resource
✗ failed to get API group resources: unable to retrieve the complete
list of server APIs: image.toolkit.fluxcd.io/v1beta2: the server could
not find the requested resource
[...]
$ echo $?
0
```
After:
```
$ flux get all
$ echo $?
0
```
closes #3973
Signed-off-by: Max Jonas Werner <mail@makk.es >
2023-06-22 18:03:38 +02:00
..
2023-05-25 13:40:21 +02:00
2022-12-21 17:14:18 +02:00
2022-12-21 17:14:18 +02:00
2023-04-05 16:05:21 +03:00
2023-05-01 18:05:10 +02:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-02-15 13:22:44 +01:00
2023-05-23 18:49:47 +03:00
2023-04-06 11:33:13 +02:00
2023-04-06 11:33:13 +02:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-05-26 15:37:55 +02:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-05-09 18:34:03 +03:00
2023-03-14 22:31:45 +05:30
2023-04-05 16:05:21 +03:00
2022-08-09 12:44:59 +03:00
2023-04-05 16:05:21 +03:00
2022-08-09 12:44:59 +03:00
2023-04-05 16:05:21 +03:00
2022-02-16 10:51:03 +01:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:20 +03:00
2023-04-05 16:05:21 +03:00
2022-06-01 15:59:52 +02:00
2023-05-26 15:37:55 +02:00
2023-03-09 11:43:05 +01:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2022-02-16 10:51:03 +01:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2022-10-20 13:23:50 +03:00
2023-05-23 18:49:47 +03:00
2023-04-05 16:05:21 +03:00
2023-04-06 11:33:13 +02:00
2023-04-05 16:05:21 +03:00
2022-09-06 15:20:42 +02:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-02-15 13:22:44 +01:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-06-22 18:03:38 +02:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-11 17:00:57 +01:00
2023-06-22 18:03:38 +02:00
2023-03-09 11:43:05 +01:00
2022-02-21 10:40:35 +01:00
2023-02-15 13:56:55 +01:00
2023-02-17 00:32:48 +05:30
2023-02-15 13:22:44 +01:00
2023-04-05 16:05:21 +03:00
2023-03-09 11:43:05 +01:00
2023-04-05 16:05:20 +03:00
2023-05-23 18:49:47 +03:00
2023-04-05 16:05:21 +03:00
2021-04-08 10:48:27 +03:00
2023-06-05 10:07:38 +02:00
2023-06-05 10:07:38 +02:00
2023-06-05 10:07:38 +02:00
2023-04-05 16:05:21 +03:00
2023-06-05 10:07:38 +02:00
2022-01-10 16:30:38 +01:00
2023-05-30 14:40:17 +05:30
2021-10-14 16:14:28 +03:00
2022-02-21 10:40:35 +01:00
2023-05-23 18:49:47 +03:00
2023-04-05 16:05:21 +03:00
2023-05-29 09:59:47 +01:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:20 +03:00
2022-12-21 17:14:18 +02:00
2023-04-05 16:05:21 +03:00
2023-05-25 13:40:21 +02:00
2023-05-08 20:14:19 +08:00
2021-09-18 17:27:47 +09:00
2023-04-05 16:05:21 +03:00
2023-05-25 13:40:21 +02:00
2023-04-05 16:05:21 +03:00
2022-03-23 12:38:42 +01:00
2023-05-25 13:40:21 +02:00
2023-04-05 16:05:20 +03:00
2022-06-22 12:03:20 +01:00
2022-08-10 12:02:30 +03:00
2023-04-05 16:05:21 +03:00
2023-05-25 13:40:21 +02:00
2023-04-05 16:05:21 +03:00
2022-12-21 17:14:18 +02:00
2021-09-18 17:27:47 +09:00
2023-02-17 00:32:48 +05:30
2021-09-18 17:27:47 +09:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:20 +03:00
2023-04-05 16:05:20 +03:00
2022-03-23 15:33:57 +02:00
2022-03-23 11:33:35 +01:00
2023-04-05 16:05:20 +03:00
2022-03-23 11:33:35 +01:00
2022-08-10 12:02:30 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-03-09 11:43:05 +01:00
2023-04-05 16:05:20 +03:00
2023-04-05 16:05:21 +03:00
2022-03-23 11:33:35 +01:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-05-23 18:49:47 +03:00
2023-04-05 16:05:21 +03:00
2022-08-10 14:37:28 +02:00
2023-04-05 16:05:21 +03:00
2022-01-10 16:30:38 +01:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00
2022-01-10 16:30:38 +01:00
2023-04-05 16:05:21 +03:00
2023-04-05 16:05:21 +03:00