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
When installing the Snyk-broker on a Openshift-platform with limitations on file access due to security context a misleading error message is given. This will, at least it did for us, possibly result in time waste for the "sys-admins". We spent many ours trying to figure out what the No Filters found. A Broker requires filters to run. Shutting down.-message meant, as there is no reference to any filters in the documentation or in the Helm-chart. We finally had a look at the source code and was able to backtrack the message
Expected behaviour
If the application is not able to load the files in defaultFilters a complementary and precise error message should be given. In our case the process did not have access to load the files (access denied)
Actual behaviour
The error message No Filters found. A Broker requires filters to run. Shutting down. is given.
When installing the Snyk-broker on a Openshift-platform with limitations on file access due to security context a misleading error message is given. This will, at least it did for us, possibly result in time waste for the "sys-admins". We spent many ours trying to figure out what the
No Filters found. A Broker requires filters to run. Shutting down.
-message meant, as there is no reference to any filters in the documentation or in the Helm-chart. We finally had a look at the source code and was able to backtrack the messageExpected behaviour
If the application is not able to load the files in
defaultFilters
a complementary and precise error message should be given. In our case the process did not have access to load the files (access denied)Actual behaviour
The error message
No Filters found. A Broker requires filters to run. Shutting down.
is given.broker/lib/index.ts
Line 51 in f001b36
Steps to reproduce
Make the files in
defaultFilters
inaccessible for the process while the application startsThe text was updated successfully, but these errors were encountered: