Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Commits on Source (2)
(chore) Default video values and feature flags
· 999560b7
Brian Hatchet
authored
Sep 09, 2019
and
Mark Harding
committed
Sep 09, 2019
999560b7
Merge branch 'helm-changes' into 'sandbox-wip'
· d484a552
Mark Harding
authored
Sep 09, 2019
(chore) Default video values and feature flags See merge request
!5
d484a552
Hide whitespace changes
Inline
Side-by-side
minds/templates/configMap.yaml
View file @
d484a552
...
...
@@ -594,14 +594,26 @@ data:
'minds',
]);
# Bool values without quotes
# true | false
# or quoted strings
# '"canary"' | '"admin"'
$CONFIG->set('features', [
'blockchain_creditcard' => false,
'suggested-users' => false,
'helpdesk' => true,
'top-feeds' => true,
'es-feeds' => true,
'cassandra-notifications' => true,
'blockchain_creditcard' => {{ .Values.features.blockchain_creditcard }},
'suggested-users' => {{ .Values.features.suggested_users }},
'helpdesk' => {{ .Values.features.helpdesk }},
'top-feeds' => {{ .Values.features.top_feeds }},
'es-feeds' => {{ .Values.features.es_feeds }},
'cassandra-notifications' => {{ .Values.features.cassandra_notifications }},
'allow-comments-toggle' => {{ .Values.features.allow_comments_toggle }},
'permissions' => {{ .Values.features.permissions }},
'wire-multi-currency' => {{ .Values.features.wire_multi_currency }},
]);
$CONFIG->max_video_length = {{ .Values.max_video_length }};
$CONFIG->max_video_file_size = {{ .Values.max_video_file_size }};
$CONFIG->max_daily_boost_views = {{ .Values.max_daily_boost_views }};
php-fpm.conf
:
|-
[www]
...
...
minds/values.yaml
View file @
d484a552
...
...
@@ -233,3 +233,26 @@ blockchain:
wireWalletKey
:
boostCampaignsWallet
:
'
0xa28c7c4dbe34e36d9c21bb84ab3df10fdf8f898e'
boostCampaignsWalletKey
:
# Bool values without quotes
# true | false
# or quoted strings
# '"canary"' | '"admin"'
features
:
allow_comments_toggle
:
true
blockchain_creditcard
:
true
dark_mode
:
true
cassandra_notifications
:
true
es_feeds
:
true
helpdesk
:
true
permissions
:
true
suggested_users
:
true
top_feeds
:
true
wire_multi_currency
:
true
# Bytes
max_video_file_size
:
'
4294967296'
# Seconds
max_video_length
:
12600
max_daily_boost_views
:
10000