2022-08-16 09:40:54 +00:00
|
|
|
To deploy replace the API secret in configmaps/webmail.yml and:
|
|
|
|
|
|
|
|
```
|
2022-08-28 08:08:52 +00:00
|
|
|
kubectl -n wildduck apply -f application.yml
|
2022-08-16 09:40:54 +00:00
|
|
|
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)
|
|
|
|
```
|