This commit is contained in:
17
wildduck/README.md
Normal file
17
wildduck/README.md
Normal file
@@ -0,0 +1,17 @@
|
||||
To deploy replace the API secret in configmaps/webmail.yml and:
|
||||
|
||||
```
|
||||
kubectl -n wildduck apply --recursive -f namespace.yml -f webmail.yml -f redis.yml
|
||||
kubectl -n wildduck rollout restart deployment/webmail
|
||||
```
|
||||
|
||||
To generate secrets:
|
||||
|
||||
```
|
||||
kubectl create secret generic -n wildduck wildduck \
|
||||
--from-literal=WILDDUCK_API_TOKEN=$(cat /dev/urandom | base64 | head -c 30)
|
||||
REDIS_PASSWORD=$(cat /dev/urandom | base64 | head -c 30)
|
||||
kubectl create secret generic -n wildduck redis-secrets \
|
||||
--from-literal=REDIS_PASSWORD=$REDIS_PASSWORD \
|
||||
--from-literal=REDIS_URL="redis://:$REDIS_PASSWORD@redis:6379/5"
|
||||
```
|
Reference in New Issue
Block a user