Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GoSec fixes and improvements #59

Merged
merged 4 commits into from
Apr 20, 2023

Commits on Apr 20, 2023

  1. Fix gosec:G104

    Signed-off-by: Justin Kulikauskas <jkulikau@redhat.com>
    JustinKuli committed Apr 20, 2023
    Configuration menu
    Copy the full SHA
    86d22ef View commit details
    Browse the repository at this point in the history
  2. Check gosec results in CI

    The KinD tests action will now run the gosec-scan, and that target will
    fail if any vulnerabilities are found. The target was also configured to
    ignore the test code.
    
    Signed-off-by: Justin Kulikauskas <jkulikau@redhat.com>
    JustinKuli committed Apr 20, 2023
    Configuration menu
    Copy the full SHA
    588bb1b View commit details
    Browse the repository at this point in the history
  3. Add more information to the e2e-debug

    Information about the gatekeeper pods might help if those tests fail.
    
    Signed-off-by: Justin Kulikauskas <jkulikau@redhat.com>
    JustinKuli committed Apr 20, 2023
    Configuration menu
    Copy the full SHA
    a51eea7 View commit details
    Browse the repository at this point in the history
  4. Fix test assertion for duplicate events

    The test is meant to ensure that the gatekeeper-sync is not emitting the
    same event multiple times in a row. But the assertion was failing
    sometimes because of duplicate events from template-errors. Those will
    sometimes occur during normal (correct) operation of the template-sync.
    
    Signed-off-by: Justin Kulikauskas <jkulikau@redhat.com>
    JustinKuli committed Apr 20, 2023
    Configuration menu
    Copy the full SHA
    6bde7dd View commit details
    Browse the repository at this point in the history