cyberark / secretless-broker

Secure your apps by making them Secretless
Apache License 2.0
234 stars 42 forks source link

Update dev environment to work on CyberArk NG laptops #1429

Closed diverdane closed 2 years ago

diverdane commented 2 years ago

What does this PR do?

On CyberArk dev laptops, golang module dependencies are downloaded with a corporate proxy in the middle. For these connections to succeed we need to configure the proxy CA certificate in build containers.

To allow build script to also work on non-CyberArk laptops where the CA certificate is not available, we copy the (potentially empty) directory into the build containers, and update container certificates based on that directory, rather than relying on the CA file itself.

What ticket does this PR close?

Checklists

Change log

Test coverage

Documentation

(For releases only) Manual tests

codeclimate[bot] commented 2 years ago

Code Climate has analyzed commit a1744400 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 53.6% (0.0% change).

View more on Code Climate.