Externalize networking (welcome Wild Central!)
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
version: 1.8.1-1
|
||||
version: 1.8.1-2
|
||||
requires:
|
||||
- name: postgres
|
||||
- name: redis
|
||||
- name: smtp
|
||||
- name: postgres
|
||||
- name: redis
|
||||
- name: smtp
|
||||
defaultConfig:
|
||||
namespace: outline
|
||||
externalDnsDomain: '{{ .cloud.domain }}'
|
||||
domain: outline.{{ .cloud.domain }}
|
||||
tlsSecretName: wildcard-wild-cloud-tls
|
||||
storage: 2Gi
|
||||
db:
|
||||
host: '{{ .apps.postgres.host }}'
|
||||
@@ -22,13 +20,14 @@ defaultConfig:
|
||||
from: '{{ .apps.smtp.from }}'
|
||||
user: '{{ .apps.smtp.user }}'
|
||||
defaultSecrets:
|
||||
- key: utilsSecret
|
||||
- key: secretKey
|
||||
default: '{{ crypto.SHA256 .secrets.utilsSecret }}'
|
||||
- key: dbPassword
|
||||
- key: dbUrl
|
||||
default: 'postgres://{{ .app.db.user }}:{{ .secrets.dbPassword }}@{{ .app.db.host }}:{{ .app.db.port }}/{{ .app.db.name }}?sslmode=disable'
|
||||
- key: smtpPassword
|
||||
- key: utilsSecret
|
||||
- key: secretKey
|
||||
default: '{{ crypto.SHA256 .secrets.utilsSecret }}'
|
||||
- key: dbPassword
|
||||
- key: dbUrl
|
||||
default: postgres://{{ .app.db.user }}:{{ .secrets.dbPassword }}@{{ .app.db.host
|
||||
}}:{{ .app.db.port }}/{{ .app.db.name }}?sslmode=disable
|
||||
- key: smtpPassword
|
||||
requiredSecrets:
|
||||
- postgres.password
|
||||
- redis.password
|
||||
- postgres.password
|
||||
- redis.password
|
||||
|
||||
Reference in New Issue
Block a user