Commit d640c0b
feat(openhands): add userProvisioning.enabled feature switch (#728)
* feat(openhands): add userProvisioning.enabled feature switch
Wires the admin POST /api/organizations/provision-user endpoint
behind a per-environment Helm switch:
- charts/openhands/values.yaml: new userProvisioning.enabled value,
defaulting to false so staging and production inherit the off state
unless an env-specific override flips it on.
- charts/openhands/templates/_env.yaml: when userProvisioning.enabled
is true, project USER_PROVISIONING_ENABLED=true into the deployment
env, which the enterprise app server reads to decide whether to
register the user-provisioning router. Sits next to the existing
ADD_DEBUGGING_ROUTES gate for symmetry.
Backend change that consumes the switch lands in
OpenHands/OpenHands#14864. The deploy repo override that sets it true
for per-branch feature deployments lands in a companion deploy PR.
Co-authored-by: openhands <openhands@all-hands.dev>
* Update chart version
* Update comments
---------
Co-authored-by: openhands <openhands@all-hands.dev>1 parent 97b9103 commit d640c0b
3 files changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
344 | 349 | | |
345 | 350 | | |
346 | 351 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
39 | 47 | | |
40 | 48 | | |
41 | 49 | | |
| |||
0 commit comments