philpep / imago

Ensure kubernetes pods run on latest images builds from the docker registry
Apache License 2.0
95 stars 13 forks source link

Imago fails without further context #46

Open rhuanbarreto opened 1 year ago

rhuanbarreto commented 1 year ago

When running imago in a cron job for a specific namespace, I keep getting an error but no context on it so I can debug:

2023/07/29 10:16:33 checking appsmith/StatefulSet/appsmith
2023/07/29 10:16:35     psql-init-container ok
2023/07/29 10:16:36     redis-init-container ok
2023/07/29 10:16:36     mongo-init-container ok
2023/07/29 10:16:38     appsmith ok
2023/07/29 10:16:38 checking appsmith/StatefulSet/appsmith-mongodb
2023/07/29 10:16:38     mongodb ok
2023/07/29 10:16:38 checking appsmith/StatefulSet/appsmith-mongodb-arbiter
2023/07/29 10:16:38     mongodb-arbiter ok
2023/07/29 10:16:38 checking appsmith/StatefulSet/appsmith-postgresql
2023/07/29 10:16:39     postgresql ok
2023/07/29 10:16:39 checking appsmith/StatefulSet/appsmith-redis-master
2023/07/29 10:16:40     redis ok
2023/07/29 10:16:40 checking appsmith/StatefulSet/appsmith-redis-replicas
2023/07/29 10:16:40     redis ok
2023/07/29 10:16:40 the server could not find the requested resource
rhuanbarreto commented 1 year ago

@philpep is it possible to exclude some artifact classes from the code? like excluding cronjobs from the search.