feat: enable user registration control via environment variable in Gitea configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
3c5682916e
commit
c19b7de382
@ -530,8 +530,6 @@ gitea:
|
|||||||
server:
|
server:
|
||||||
SSH_PORT: 22 # rootful image
|
SSH_PORT: 22 # rootful image
|
||||||
SSH_LISTEN_PORT: 2222 # rootless image
|
SSH_LISTEN_PORT: 2222 # rootless image
|
||||||
service:
|
|
||||||
DISABLE_REGISTRATION: "true"
|
|
||||||
#
|
#
|
||||||
# security:
|
# security:
|
||||||
# PASSWORD_COMPLEXITY: spec
|
# PASSWORD_COMPLEXITY: spec
|
||||||
@ -544,7 +542,9 @@ gitea:
|
|||||||
# name: gitea-app-ini-plaintext
|
# name: gitea-app-ini-plaintext
|
||||||
|
|
||||||
## @param gitea.additionalConfigFromEnvs Additional configuration sources from environment variables
|
## @param gitea.additionalConfigFromEnvs Additional configuration sources from environment variables
|
||||||
additionalConfigFromEnvs: []
|
additionalConfigFromEnvs:
|
||||||
|
- name: DISABLE_REGISTRATION
|
||||||
|
value: "true"
|
||||||
|
|
||||||
## @param gitea.podAnnotations Annotations for the Gitea pod
|
## @param gitea.podAnnotations Annotations for the Gitea pod
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user