fix
This commit is contained in:
@@ -50,7 +50,7 @@ resource "kubectl_manifest" "wildduck_deploy" {
|
||||
scheme: HTTP
|
||||
httpHeaders:
|
||||
- name: X-Access-Token
|
||||
value: wildduck1234
|
||||
value: "${local.secrets.webmail}"
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /users
|
||||
@@ -58,7 +58,7 @@ resource "kubectl_manifest" "wildduck_deploy" {
|
||||
scheme: HTTP
|
||||
httpHeaders:
|
||||
- name: X-Access-Token
|
||||
value: wildduck1234
|
||||
value: "${local.secrets.webmail}"
|
||||
resources:
|
||||
{}
|
||||
volumeMounts:
|
||||
@@ -189,9 +189,7 @@ resource "kubectl_manifest" "wildduck_config" {
|
||||
host="0.0.0.0"
|
||||
# Use `true` (HTTPS) for port 443 and `false` (HTTP) for 80
|
||||
secure=false
|
||||
# If set requires all API calls to have accessToken query argument with that value
|
||||
# http://localhost:8080/users?accessToken=somesecretvalue
|
||||
accessToken="wildduck1234"
|
||||
accessToken="${local.secrets.webmail}"
|
||||
[accessControl]
|
||||
# If true then require a valid access token to perform API calls
|
||||
# If a client provides a token then it is validated even if using a token is not required
|
||||
@@ -231,7 +229,7 @@ resource "kubectl_manifest" "wildduck_config" {
|
||||
origins = ["*"]
|
||||
dbs.toml: |-
|
||||
# mongodb connection string for the main database
|
||||
mongo="mongodb://${var.component}:${local.mongo-password}@${var.instance}-${var.component}-mongo-svc.${var.namespace}.svc:27017/wildduck"
|
||||
mongo="mongodb://${var.component}:${local.mongo-password}@${var.instance}-${var.component}-mongo-svc.${var.namespace}.svc:27017/${var.component}"
|
||||
# redis connection string to connect to a single master (see below for Sentinel example)
|
||||
redis="redis://${var.instance}-${var.component}-redis.${var.namespace}.svc:6379/3"
|
||||
# WildDuck allows using different kind of data in different databases
|
||||
@@ -252,7 +250,7 @@ resource "kubectl_manifest" "wildduck_config" {
|
||||
|
||||
# Optional database name or connection url for ZoneMTA queue database. This is
|
||||
# used to push outbound emails to the sending queue
|
||||
sender="zone-mta"
|
||||
sender="zonemta"
|
||||
|
||||
#queued="mail"
|
||||
dkim.toml: |-
|
||||
|
||||
Reference in New Issue
Block a user