You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened:
When running with a --config parameter pointing to a non-existing file ... ./anchore-k8s-inventory --config idontevenexist.yaml
k8-inventory is not failing or issuing at least a warning.
This causes a run with all default settings, so potentially very far from the intended settings.
What you expected to happen:
The command to just fail, as I wanted to explicitly run a certain config and fail otherwise.
How to reproduce it (as minimally and precisely as possible): ./anchore-k8s-inventory --verbose --verbose --verbose-inventory-reports --config idontevenexist.yaml
What happened:
When running with a
--config
parameter pointing to a non-existing file ..../anchore-k8s-inventory --config idontevenexist.yaml
k8-inventory
is not failing or issuing at least a warning.This causes a run with all default settings, so potentially very far from the intended settings.
What you expected to happen:
The command to just fail, as I wanted to explicitly run a certain config and fail otherwise.
How to reproduce it (as minimally and precisely as possible):
./anchore-k8s-inventory --verbose --verbose --verbose-inventory-reports --config idontevenexist.yaml
Giving it a config file that actually exists
./anchore-k8s-inventory --verbose-inventory-reports --config config.yaml
that config is used
Anything else we need to know?:
Environment:
kai version
):cat /etc/os-release
or similar):The text was updated successfully, but these errors were encountered: