UNCLASSIFIED - NO CUI

BigBang support for GitLab SMTP Password Secret

We are configuring SMTP for GitLab. Currently, we created a secret manually to store the SMTP password and everything is working. Is there a way to pass the SMTP password in an encrypted Big Bang configmap that will create a secret for us to use in the SMTP configuration?

The following is our current working configuration. Currently, We have to create the smtp-secret manually. We are looking for a way to just specify the secret name and the password in our encrypted configmap for Big Bang and letting helm do the part of creating the smtp-secret for us.

gitlab:
    enabled: true
    values:
      global:
        smtp:
          enabled: true
          address: xxx.com
          port: 587
          user_name: xxx          
          password:
            secret: smtp-secret
            key: password
          domain: xxx.com
          authentication: "login"
          starttls_auto: true
          openssl_verify_mode: "peer"
          pool: false
  
Edited by Ryan Garcia