Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Changes
Page history
Update development
authored
Aug 08, 2022
by
Kees van den Broek
Show whitespace changes
Inline
Side-by-side
setup/development.md
View page @
02230b70
...
...
@@ -107,7 +107,7 @@ Follow
[
instructions
](
https://gitlab.com/appsemble/appsemble/tree/master/config/charts/appsemble#new-installation
)
from the Appsemble Helm chart to set up secrets for both the
`review`
and
`staging`
namespace.
An app password for
GMail SMTP can be created
[
here
](
https://myaccount.google.com/u/1/apppasswords
)
.
An app password for
SMTP should be obtained first (from Bitwarden
).
The Sentry DSNs can be found
[
here
](
https://sentry.io/settings/d-centralize/projects/appsemble/keys/
)
.
...
...
@@ -119,13 +119,13 @@ kubectl create secret generic appsemble \
--namespace
review
\
--from-literal
"secret=
$(
openssl rand
-base64
30
)
"
kubectl create secret generic smtp
\
--namespace
review
--from-literal
'host=smtp.
gmail.com
'
\
--namespace
review
\
--from-literal
'host=smtp.
appsemble.app
'
\
--from-literal
'port=465'
\
--from-literal
'secure=true'
\
--from-literal
'user=
admin
@appsemble.
com
'
\
--from-literal
"pass=
$
G
MAIL_APP_PASSWORD
"
\
--from-literal
'from=Appsemble (review) <noreply@appsemble.
com
>'
--from-literal
'user=
noreply
@appsemble.
app
'
\
--from-literal
"pass=
$
E
MAIL_APP_PASSWORD
"
\
--from-literal
'from=Appsemble (review) <noreply@appsemble.
app
>'
kubectl create secret generic postgresql-secret
\
--namespace
review
\
--from-literal
"postgresql-password=
$(
uuidgen
)
"
\
...
...
@@ -136,6 +136,11 @@ kubectl create secret generic sentry \
--from-literal
"dsn=
$SENTRY_DSN
"
```
To replace a secret, first remove it:
```
kubectl delete secret smtp --namespace review
```
and the following for staging:
```
sh
...
...
...
...