feat(server, helm): add guest role feature flag
This commit is contained in:
@@ -187,3 +187,7 @@ export function speckleAutomateUrl() {
|
||||
export function ignoreMissingMigrations() {
|
||||
return ['1', 'true'].includes(process.env.IGNORE_MISSING_MIRATIONS || 'false')
|
||||
}
|
||||
|
||||
export function enableServerGuests() {
|
||||
return ['1', 'true'].includes(process.env.ENABLE_SERVER_GUESTS || 'false')
|
||||
}
|
||||
|
||||
@@ -209,6 +209,11 @@ spec:
|
||||
key: {{ default "google_client_secret" .Values.server.auth.google.clientSecret.secretKey }}
|
||||
{{- end }}
|
||||
|
||||
{{- if .Values.serverGuestsEnabled }}
|
||||
- name: ENABLE_SERVER_GUESTS
|
||||
value: true
|
||||
{{- end }}
|
||||
|
||||
# Github Auth
|
||||
{{- if .Values.server.auth.github.enabled }}
|
||||
- name: STRATEGY_GITHUB
|
||||
|
||||
@@ -97,6 +97,9 @@ file_size_limit_mb: 100
|
||||
##
|
||||
enable_prometheus_monitoring: false
|
||||
|
||||
## @param serverGuestsEnabled Enables users to join the server as Guests, having limiter permissions
|
||||
serverGuestsEnabled: false
|
||||
|
||||
prometheusMonitoring:
|
||||
## @param prometheusMonitoring.namespace If provided, deploys Speckle's Prometheus resources (e.g. ServiceMonitor) in the given namespace
|
||||
## Prometheus prior to v0.19.0, or any version when deployed with default parameters, expects ServiceMonitors to be deployed within the same namespace.
|
||||
|
||||
Reference in New Issue
Block a user