mirror of
https://github.com/labring/sealos.git
synced 2026-09-24 15:46:19 +08:00
user registration switch (#4473)
This commit is contained in:
@@ -87,4 +87,18 @@ Certificates are crucial for the security of your Sealos cluster. Follow these s
|
||||
|
||||
Changing a domain name in a Sealos cluster is complex, often requiring adjustments in multiple components and services. We do not currently provide a comprehensive guide for this process in our documentation. However, future plans include the release of a Sealos Cluster Management Panel for easier domain name and certificate replacement.
|
||||
|
||||
It's important to note that domain name changes demand deep knowledge of the cluster's network setup and may involve intricate DNS settings and service discovery. We recommend undertaking such changes only if you have the requisite expertise or with guidance from a professional.
|
||||
It's important to note that domain name changes demand deep knowledge of the cluster's network setup and may involve intricate DNS settings and service discovery. We recommend undertaking such changes only if you have the requisite expertise or with guidance from a professional.
|
||||
|
||||
### user registration switch
|
||||
|
||||
disabled user register:
|
||||
|
||||
```shell
|
||||
kubectl -n sealos patch deployment desktop-frontend -p '{"spec":{"template":{"spec":{"containers":[{"name":"desktop-frontend","env":[{"name":"SIGN_UP_ENABLED","value":"false"}]}]}}}}'
|
||||
```
|
||||
|
||||
enabled user register:
|
||||
|
||||
```shell
|
||||
kubectl -n sealos patch deployment desktop-frontend -p '{"spec":{"template":{"spec":{"containers":[{"name":"desktop-frontend","env":[{"name":"SIGN_UP_ENABLED","value":"true"}]}]}}}}'
|
||||
```
|
||||
@@ -91,4 +91,18 @@ $ echo 1 > /proc/sys/net/ipv4/ip_forward
|
||||
Sealos 集群管理面板,该面板将提供更加简便的方法来替换集群域名和证书。
|
||||
|
||||
请注意,域名更换通常需要对集群的网络配置进行深入了解,并且可能涉及到 DNS
|
||||
设置、服务发现等多个方面。因此,建议在执行此类操作时,确保您具备相应的技术知识或咨询专业人士的帮助。
|
||||
设置、服务发现等多个方面。因此,建议在执行此类操作时,确保您具备相应的技术知识或咨询专业人士的帮助。
|
||||
|
||||
### 用户注册开关
|
||||
|
||||
关闭用户注册:
|
||||
|
||||
```shell
|
||||
kubectl -n sealos patch deployment desktop-frontend -p '{"spec":{"template":{"spec":{"containers":[{"name":"desktop-frontend","env":[{"name":"SIGN_UP_ENABLED","value":"false"}]}]}}}}'
|
||||
```
|
||||
|
||||
开启用户注册:
|
||||
|
||||
```shell
|
||||
kubectl -n sealos patch deployment desktop-frontend -p '{"spec":{"template":{"spec":{"containers":[{"name":"desktop-frontend","env":[{"name":"SIGN_UP_ENABLED","value":"true"}]}]}}}}'
|
||||
```
|
||||
Reference in New Issue
Block a user