Update redis and postgres internal routes
And add smtp-secrets file for apps namespace
This commit is contained in:
parent
27e6408665
commit
52d28702fe
8 changed files with 36 additions and 8 deletions
|
@ -12,7 +12,7 @@ spec:
|
|||
- https://ollama.leechpepin.com:11434
|
||||
websocket:
|
||||
enabled: true
|
||||
url: redis://redis.core.svc.cluster.local:6379/0
|
||||
url: redis://redis-svc.core.svc.cluster.local:6379/0
|
||||
redis:
|
||||
enabled: false
|
||||
persistence:
|
||||
|
|
|
@ -86,7 +86,7 @@ configMapGenerator:
|
|||
- PHP_INI_DATE_TIMEZONE=America/New_York
|
||||
- DOLI_INSTALL_AUTO=0
|
||||
- DOLI_DB_TYPE=pgsql
|
||||
- DOLI_DB_HOST=postgres.core.svc.cluster.local
|
||||
- DOLI_DB_HOST=postgres-svc.core.svc.cluster.local
|
||||
- DOLI_DB_HOST_PORT=5432
|
||||
- DOLI_DB_USER=dolidbuser
|
||||
- DOLI_COMPANY_NAME="JLP Tech Consulting, LLC"
|
||||
|
|
|
@ -100,7 +100,7 @@ configMapGenerator:
|
|||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
- FORGEJO__database__DB_TYPE=postgres
|
||||
- FORGEJO__database__HOST=postgres.core.svc.cluster.local:5432
|
||||
- FORGEJO__database__HOST=postgres-svc.core.svc.cluster.local:5432
|
||||
- FORGEJO__database__NAME=forgejo
|
||||
- FORGEJO__database__USER=forgejo
|
||||
- FORGEJO__mailer__ENABLED=true
|
||||
|
|
|
@ -88,7 +88,7 @@ configMapGenerator:
|
|||
# Database Settings
|
||||
- DB_ENGINE=postgres
|
||||
- POSTGRES_USER=mealie
|
||||
- POSTGRES_SERVER=postgres.core.svc.cluster.local
|
||||
- POSTGRES_SERVER=postgres-svc.core.svc.cluster.local
|
||||
- POSTGRES_PORT=5432
|
||||
- POSTGRES_DB=mealie
|
||||
# Use Ollama
|
||||
|
|
|
@ -91,8 +91,8 @@ labels:
|
|||
configMapGenerator:
|
||||
- name: config
|
||||
literals:
|
||||
- PAPERLESS_REDIS=redis://redis.core.svc.cluster.local
|
||||
- PAPERLESS_DBHOST=postgres.core.svc.cluster.local
|
||||
- PAPERLESS_REDIS=redis://redis-svc.core.svc.cluster.local
|
||||
- PAPERLESS_DBHOST=postgres-svc.core.svc.cluster.local
|
||||
- PAPERLESS_DBUSER=paperless
|
||||
- PAPERLESS_DBNAME=paperlessdb
|
||||
- PAPERLESS_TIKA_ENABLED="1"
|
||||
|
|
28
namespaces/apps/smtp-secrets.yaml
Normal file
28
namespaces/apps/smtp-secrets.yaml
Normal file
|
@ -0,0 +1,28 @@
|
|||
apiVersion: secrets.infisical.com/v1alpha1
|
||||
kind: InfisicalSecret
|
||||
metadata:
|
||||
name: smtp-secrets
|
||||
namespace: infisical
|
||||
labels:
|
||||
label-to-be-passed-to-managed-secret: homelab
|
||||
annotations:
|
||||
example.com/annotation-to-be-passed-to-managed-secret: "homelab"
|
||||
spec:
|
||||
hostAPI: https://app.infisical.com/api
|
||||
resyncInterval: 10
|
||||
authentication:
|
||||
# Universal Auth
|
||||
universalAuth:
|
||||
secretsScope:
|
||||
projectSlug: homelab-n-f-yj
|
||||
envSlug: prod
|
||||
secretsPath: "/" # Root is "/"
|
||||
recursive: false # Whether or not to use recursive mode (Fetches all secrets in an environment from a given secret path, and all folders inside the path) / defaults to false
|
||||
credentialsRef:
|
||||
secretName: universal-auth-credentials
|
||||
secretNamespace: infisical
|
||||
managedSecretReference:
|
||||
secretName: smtp-secrets
|
||||
secretNamespace: apps
|
||||
creationPolicy: "Orphan" ## Owner | Orphan
|
||||
---
|
|
@ -27,7 +27,7 @@ configMapGenerator:
|
|||
- HEALTHCHECK_BASE_URL="https://healthchecks.leechpepin.com"
|
||||
- HEALTHCHECK_ID="ping/7iBSS9akyokIWq-sbfEjHQ/pgdump"
|
||||
- ROTATE_PREFIX="pgdump"
|
||||
- BACKUP_COMMAND="pg_dumpall -U postgres -h postgres.core -p 5432"
|
||||
- BACKUP_COMMAND="pg_dumpall -U postgres -h postgres-svc.core -p 5432"
|
||||
|
||||
patches:
|
||||
- path: patches/batch.yaml
|
||||
|
|
|
@ -96,7 +96,7 @@ configMapGenerator:
|
|||
literals:
|
||||
- ADMINS=jonathan@leechpepin.com
|
||||
- DB=postgres
|
||||
- DB_HOST=postgres.core.svc.cluster.local
|
||||
- DB_HOST=postgres-svc.core.svc.cluster.local
|
||||
- DB_NAME=hc
|
||||
- DB_PORT=5432
|
||||
- DB_USER=hc
|
||||
|
|
Loading…
Add table
Reference in a new issue