Skip to content

Commit

Permalink
Make all feature configs overridable (#2479)
Browse files Browse the repository at this point in the history
  • Loading branch information
battermann authored Jun 14, 2022
1 parent 1afb3e1 commit 9d10aa4
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 11 deletions.
1 change: 1 addition & 0 deletions changelog.d/5-internal/pr-2479
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
All feature configs like guest links e.g. can now be overridden in the helm configuration, so that they can be disabled/enabled and configured server wide
20 changes: 20 additions & 0 deletions charts/galley/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,25 @@ data:
searchVisibilityInbound:
{{- toYaml .settings.featureFlags.searchVisibilityInbound | nindent 10 }}
{{- end }}
{{- if .settings.featureFlags.validateSAMLemails }}
validateSAMLemails:
{{- toYaml .settings.featureFlags.validateSAMLemails | nindent 10 }}
{{- end }}
{{- if .settings.featureFlags.appLock }}
appLock:
{{- toYaml .settings.featureFlags.appLock | nindent 10 }}
{{- end }}
{{- if .settings.featureFlags.conferenceCalling }}
conferenceCalling:
{{- toYaml .settings.featureFlags.conferenceCalling | nindent 10 }}
{{- end }}
{{- if .settings.featureFlags.selfDeletingMessages }}
selfDeletingMessages:
{{- toYaml .settings.featureFlags.selfDeletingMessages | nindent 10 }}
{{- end }}
{{- if .settings.featureFlags.conversationGuestLinks }}
conversationGuestLinks:
{{- toYaml .settings.featureFlags.conversationGuestLinks | nindent 10 }}
{{- end }}
{{- end }}
{{- end }}
49 changes: 38 additions & 11 deletions charts/galley/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,44 @@ config:
status: disabled
config:
domains: []
# fileSharing setting is optional
# if not set the default feature status is enabled and the default lock status is unlocked
# fileSharing:
# defaults:
# status: enabled
# lockStatus: unlocked
# sndFactorPasswordChallenge setting is optional
# sndFactorPasswordChallenge:
# defaults:
# status: disabled
# lockStatus: locked
# optional
fileSharing:
defaults:
status: enabled
lockStatus: unlocked
# optional
sndFactorPasswordChallenge:
defaults:
status: disabled
lockStatus: locked
# optional
validateSAMLemails:
defaults:
status: enabled
# optional
appLock:
defaults:
status: enabled
config:
enforceAppLock: false
inactivityTimeoutSecs: 60
# optional
conferenceCalling:
defaults:
status: enabled
# optional
selfDeletingMessages:
defaults:
status: enabled
lockStatus: unlocked
config:
enforcedTimeoutSeconds: 0
# optional
conversationGuestLinks:
defaults:
status: enabled
lockStatus: unlocked

aws:
region: "eu-west-1"
proxy: {}
Expand Down

0 comments on commit 9d10aa4

Please sign in to comment.