UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit f0fe9e9e authored by Ryan Garcia's avatar Ryan Garcia :dizzy:
Browse files

Merge branch '1139-gitlab-smtp-secret' into 'master'

Resolve "BigBang support for GitLab SMTP Password Secret"

Closes #1139

See merge request platform-one/big-bang/bigbang!1567
parents 881b6ed4 111156a7
No related branches found
No related tags found
1 merge request!1567Resolve "BigBang support for GitLab SMTP Password Secret"
Pipeline #774519 failed
{{- if and .Values.addons.gitlab.smtp.password .Values.addons.gitlab.enabled }}
apiVersion: v1
kind: Secret
metadata:
name: gitlab-smtp-password
namespace: gitlab
type: Opaque
data:
password: {{ .Values.addons.gitlab.smtp.password | b64enc }}
{{- end }}
......@@ -320,11 +320,17 @@ global:
{{- end }}
{{- end }}
{{- if and (ne .Values.addons.gitlab.redis.password "") (or .Values.addons.gitlab.enabled .Values.addons.gitlabRunner.enabled) }}
{{- if and (ne .Values.addons.gitlab.redis.password "") (or .Values.addons.gitlab.enabled .Values.addons.gitlabRunner.enabled) }}
redis:
password:
secret: "gitlab-redis-secret-bb"
{{- end }}
{{- end }}
{{- if .Values.addons.gitlab.smtp.password }}
smtp:
password:
secret: "gitlab-smtp-password"
{{- end }}
{{- if ne .Values.addons.gitlab.objectStorage.iamProfile "" }}
use_iam_profile: true
......
......@@ -872,6 +872,11 @@ addons:
# -- If using an AWS IAM profile, the accessKey and accessSecret values must be left as empty strings eg: ""
iamProfile: ""
smtp:
# -- Passwords should be placed in an encrypted file. Example: environment-bb-secret.enc.yaml
# If a value is provided BigBang will create a k8s secret named gitlab-smtp-password in the gitlab namespace
password: ""
redis:
# -- Redis plain text password to connect to the redis server. If empty (""), the gitlab charts will create the gitlab-redis-secret
# with a random password.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment