Updated docs and values.yaml to match the previous behaviour.
This commit is contained in:
parent
fb1a21d77d
commit
bc787433d6
|
@ -3,7 +3,7 @@
|
|||
Regardless of the deployment platform (Google App Engine, Kubernetes, Docker), the following configuration parameters must be provided when deploying hugo-mx-gateway.
|
||||
|
||||
* `SMTP_SERVER_ADDR`: Set the address of the SMTP server in the form of `host:port`. It's required that the SMTP server being supporting TLS.
|
||||
* `SMTP_VERITY_CERT`: Tell whether the SMTP certificate should be validated against top level authorities. If you're using a self-signed certificate on the SMTP server, this value must be set to `false`.
|
||||
* `SMTP_SKIP_VERIFY_CERT`: Tell whether the SMTP certificate should be validated against top level authorities. If you're using a self-signed certificate on the SMTP server, this value should be set to `false`.
|
||||
* `SMTP_AUTHENTICATION_ENABLED`: Boolean (default: `true`) indicating whether SMTP authentication is required or not. If true, the variables `SMTP_CLIENT_USERNAME` and `SMTP_CLIENT_PASSWORD` are used the perform the authentication.
|
||||
* `SMTP_CLIENT_USERNAME`: Set the username to connect to the SMTP server.
|
||||
* `SMTP_CLIENT_PASSWORD`: Set the password to connect to the SMTP server.
|
||||
|
|
|
@ -11,7 +11,7 @@ Then apply the following command while setting the configuration variables appro
|
|||
--publish 8080:8080 \
|
||||
--name 'hugo-mx-gateway' \
|
||||
-e SMTP_SERVER_ADDR="smtp.example.com:465" \
|
||||
-e SMTP_VERITY_CERT=true \
|
||||
-e SMTP_SKIP_VERIFY_CERT=false \
|
||||
-e SMTP_CLIENT_USERNAME="postmaster@example.com" \
|
||||
-e SMTP_CLIENT_PASSWORD="postmasterSecretPassWord" \
|
||||
-e CONTACT_REPLY_EMAIL="noreply@example.com" \
|
||||
|
|
|
@ -2,7 +2,7 @@ replicaCount: 1
|
|||
|
||||
envs:
|
||||
SMTP_SERVER_ADDR: "smtp.mailgun.org:587"
|
||||
SMTP_VERITY_CERT: true
|
||||
SMTP_SKIP_VERIFY_CERT: false
|
||||
SMTP_CLIENT_USERNAME: "postmaster@example.com"
|
||||
SMTP_CLIENT_PASSWORD: "postmasterSecretPassWord"
|
||||
ALLOWED_ORIGINS: "127.0.0.1,example.com"
|
||||
|
|
Loading…
Reference in New Issue