UNCLASSIFIED - NO CUI

Skip to content

Fix kyverno webhook cfg for big bang down stage take 2

Christopher O'Connell requested to merge fix-delete-kyverno-webhook-cfg into master

Resolves issue with Kyverno blocking helm uninstall from cleaning up all resources in big bang down stage. Logic includes:

  • scaling down Kyverno to remove validatingwebhookconfigurations prior to performing helm uninstall.
  • write helm uninstall error output to a file
  • continue job successfully if error is the expected timeout error
  • Exit with error code 1 on any other errors

Successful test job log -> https://repo1.dso.mil/big-bang/pipeline-templates/package-validation/-/jobs/23642651 Echo outputs the expected timeout error in red and continues the jobScreenshot_2023-07-18_at_9.17.35_PM

Edited by Christopher O'Connell

Merge request reports