diff --git a/utils/helm/speckle-server/templates/_helpers.tpl b/utils/helm/speckle-server/templates/_helpers.tpl index e9965834a..d3967949a 100644 --- a/utils/helm/speckle-server/templates/_helpers.tpl +++ b/utils/helm/speckle-server/templates/_helpers.tpl @@ -610,6 +610,9 @@ Generate the environment variables for Speckle server and Speckle objects deploy - name: FF_ACC_INTEGRATION_ENABLED value: {{ .Values.featureFlags.accIntegrationEnabled | quote }} +- name: FF_NO_PERSONAL_EMAILS_ENABLED + value: {{ .Values.server.noPersonalEmailsEnabled }} + {{- if .Values.featureFlags.accIntegrationEnabled }} - name: AUTODESK_INTEGRATION_CLIENT_ID value: {{ .Values.server.accIntegration.client_id }} diff --git a/utils/helm/speckle-server/templates/frontend_2/deployment.yml b/utils/helm/speckle-server/templates/frontend_2/deployment.yml index 463db6449..4e6233e01 100644 --- a/utils/helm/speckle-server/templates/frontend_2/deployment.yml +++ b/utils/helm/speckle-server/templates/frontend_2/deployment.yml @@ -151,6 +151,8 @@ spec: value: {{ .Values.featureFlags.legacyFileImportsEnabled | quote }} - name: NUXT_PUBLIC_FF_ACC_INTEGRATION_ENABLED value: {{ .Values.featureFlags.accIntegrationEnabled | quote }} + - name: NUXT_PUBLIC_FF_NO_PERSONAL_EMAILS_ENABLED + value: {{ .Values.featureFlags.noPersonalEmailsEnabled | quote }} - name: NUXT_PUBLIC_FF_DASHBOARDS_MODULE_ENABLED value: {{ .Values.featureFlags.dashboardsModuleEnabled | quote }} {{- if .Values.analytics.intercom_app_id }} diff --git a/utils/helm/speckle-server/values.schema.json b/utils/helm/speckle-server/values.schema.json index cba7b50e0..36666d9de 100644 --- a/utils/helm/speckle-server/values.schema.json +++ b/utils/helm/speckle-server/values.schema.json @@ -139,6 +139,11 @@ "type": "boolean", "description": "Enables the ability to create Personal Access Tokens (PAT) with users:invite privileges. WARNING: This can be used by untrusted users to send spam; do not enable on servers which allow public registration or to which untrusted users have been, or will be, invited.", "default": false + }, + "noPersonalEmailsEnabled": { + "type": "boolean", + "description": "Disables personal emails for new accounts", + "default": false } } }, diff --git a/utils/helm/speckle-server/values.yaml b/utils/helm/speckle-server/values.yaml index e00d2ae87..3e119ad8c 100644 --- a/utils/helm/speckle-server/values.yaml +++ b/utils/helm/speckle-server/values.yaml @@ -77,6 +77,8 @@ featureFlags: savedViewsEnabled: false ## @param featureFlags.usersInviteScopeIsPublic Enables the ability to create Personal Access Tokens (PAT) with users:invite privileges. WARNING: This can be used by untrusted users to send spam; do not enable on servers which allow public registration or to which untrusted users have been, or will be, invited. usersInviteScopeIsPublic: false + ## @param featureFlags.noPersonalEmailsEnabled Disables personal emails for new accounts + noPersonalEmailsEnabled: false analytics: ## @param analytics.enabled Enable or disable analytics