Skip to content

Commit d2e802b

Browse files
committed
Add DISABLE_USER_MGMT config value to Flask app
1 parent 232461d commit d2e802b

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

DEPLOYMENT.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ or [mino](https://github.com/helm/charts/tree/master/stable/minio#configuration)
162162
| `app.rabbitmq.retry_interval` | Number of seconds to wait between RabbitMQ retries on startup | 10 |
163163
| `app.replicas` | Number of App pods to start. Experimental! | 1 |
164164
| `app.auth` | Enable authentication or allow unfettered access (Python boolean string) | `false` |
165+
| `app.disableUserMgmt` | Opt out of built-in ServiceX user management system | `false`
165166
| `app.globusClientID` | Globus application Client ID | - |
166167
| `app.globusClientSecret` | Globus application Client Secret | - |
167168
| `app.adminEmail` | Email address for initial admin user | [email protected] |

servicex/templates/app/configmap.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ data:
2222
# Enable JWT auth on public endpoints
2323
ENABLE_AUTH={{- ternary "True" "False" .Values.app.auth }}
2424
25+
# Disable user management system
26+
DISABLE_USER_MGMT = {{ ternary "True" "False" .Values.app.disableUserMgmt }}
27+
2528
# Globus configuration
2629
GLOBUS_CLIENT_ID = '{{ .Values.app.globusClientID }}'
2730
GLOBUS_CLIENT_SECRET = '{{ .Values.app.globusClientSecret }}'

servicex/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ app:
2424
pullPolicy: IfNotPresent
2525
replicas: 1
2626
auth: false
27+
disableUserMgmt: false
2728
validateTransformerImage: true
2829

2930
# Globus configuration - obtain these at https://auth.globus.org/v2/web/developers

0 commit comments

Comments
 (0)