Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: env var MM_SQLSETTINGS_DATASOURCE set #54

Merged
merged 6 commits into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions values/common-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@ mattermostApp:
secretKeyRef:
key: MM_PLUGINSETTINGS_ENABLEUPLOADS
name: "mattermost-config"
- name: MM_SQLSETTINGS_DATASOURCE
Racer159 marked this conversation as resolved.
Show resolved Hide resolved
valueFrom:
secretKeyRef:
key: db_connection_string
name: "mattermost-postgres"
###ZARF_VAR_EXTRA_ENV###
corang marked this conversation as resolved.
Show resolved Hide resolved
securityContext:
runAsUser: 2000
runAsGroup: 2000
Expand Down
4 changes: 4 additions & 0 deletions zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ variables:
description: "Secret Key for S3 compatible storage"
- name: DB_PASSWORD
description: "Database Password for Mattermost"
- name: EXTRA_ENV
description: "Sets an extra env variable for the mattermost chart"
corang marked this conversation as resolved.
Show resolved Hide resolved
default: ""
autoIndent: true

components:
- name: mattermost
Expand Down
Loading