Allow setting a channel for new users to auto-join (#9291)

Release Notes:

- Automatically add new users to the #zed channel
This commit is contained in:
Conrad Irwin 2024-03-13 11:11:31 -06:00 committed by GitHub
parent 88e33a1dbe
commit 77de5689a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 39 additions and 7 deletions

View file

@ -185,6 +185,8 @@ spec:
value: "true"
- name: ZED_ENVIRONMENT
value: ${ZED_ENVIRONMENT}
- name: AUTO_JOIN_CHANNEL_ID
value: ${AUTO_JOIN_CHANNEL_ID}
securityContext:
capabilities:
# FIXME - Switch to the more restrictive `PERFMON` capability.

View file

@ -1,4 +1,5 @@
ZED_ENVIRONMENT=production
RUST_LOG=info
INVITE_LINK_PREFIX=https://zed.dev/invites/
AUTO_JOIN_CHANNEL_ID=283
DATABASE_MAX_CONNECTIONS=85

View file

@ -2,3 +2,4 @@ ZED_ENVIRONMENT=staging
RUST_LOG=info
INVITE_LINK_PREFIX=https://staging.zed.dev/invites/
DATABASE_MAX_CONNECTIONS=5
AUTO_JOIN_CHANNEL_ID=8