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

[mattermost-enterprise-edition] Allow existing config.json #415

Open
Moep90 opened this issue Aug 30, 2023 · 0 comments
Open

[mattermost-enterprise-edition] Allow existing config.json #415

Moep90 opened this issue Aug 30, 2023 · 0 comments

Comments

@Moep90
Copy link

Moep90 commented Aug 30, 2023

Allow to use an existingConfigJson instead of the predefined tmpl or alternativly allow to configure every section with defaults.
like:

global:
  TeamSettings:
    enableTeamCreation: true
    enableUserCreation: true
    enableOpenServer: true
.......
  ServiceSettings:

    # already existing
    enableLinkPreviews: true
    enableCustomEmoji: true
    
  # example additional values
    GoogleDeveloperKey: ""
    EnableOAuthServiceProvider: false
    EnableIncomingWebhooks: true
    EnableOutgoingWebhooks: true
    EnableCommands: true
    EnableOnlyAdminIntegrations: false
    EnablePostUsernameOverride: false
    EnablePostIconOverride: false
.....

....and make use of helm flow control
Docs
StackOverflow

For example:

  {{- range $v := .Values.global.TeamSettings }}
....
  {{- end }}

or

global:
  existingConfigmapJsonName: myconfigmapjson
# or
global:
  existingConfigmapJson:
    name: myconfigmapjson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant