Skip to content

Added conditional secret mount

Javion Cai requested to merge javion1/gitlab-agent:main into main

What is this MR about

This MR changes the secret volume mounting to be a conditional secret volume mount as secret creation is also optional. This is required when using sidecar secret loaders such as vault and a kubernetes secret is not needed. In such scenarios, the secret will directly be written to the container so the application can just directly work off the secret

Edited by Javion Cai

Merge request reports