Skip to content

Use stubbed key and certificate in Helm factory

Tiger Watson requested to merge explicit-helm-factory-certs into master

What does this MR do?

Every time we create a helm application record in tests we generate a certificate for it, which is very slow. This merge request uses a pre-generated certificate and key to avoid generating a new one every time.

On my local machine, this brings the runtime for all cluster application specs from ~350 seconds to ~130 seconds.

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team
Edited by 🤖 GitLab Bot 🤖

Merge request reports