Compare commits
5 Commits
7aa504ec63
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 11fa03c933 | |||
| 5d86ac411e | |||
| 60b73c4c75 | |||
| 8933422e12 | |||
| 3eda30bae0 |
@@ -70,3 +70,10 @@ spec:
|
|||||||
key: /cl01tl/komodo/ferret
|
key: /cl01tl/komodo/ferret
|
||||||
metadataPolicy: None
|
metadataPolicy: None
|
||||||
property: uri
|
property: uri
|
||||||
|
- secretKey: password
|
||||||
|
remoteRef:
|
||||||
|
conversionStrategy: Default
|
||||||
|
decodingStrategy: None
|
||||||
|
key: /cl01tl/komodo/ferret
|
||||||
|
metadataPolicy: None
|
||||||
|
property: password
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ komodo:
|
|||||||
controllers:
|
controllers:
|
||||||
main:
|
main:
|
||||||
type: deployment
|
type: deployment
|
||||||
replicas: 0
|
replicas: 1
|
||||||
strategy: Recreate
|
strategy: Recreate
|
||||||
revisionHistoryLimit: 3
|
revisionHistoryLimit: 3
|
||||||
containers:
|
containers:
|
||||||
@@ -57,7 +57,7 @@ komodo:
|
|||||||
- name: DB_PASSWORD
|
- name: DB_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: komodo-postgresql-17-fdb-cluster-app
|
name: komodo-postgresql-17-fdb-cluster-ferret
|
||||||
key: password
|
key: password
|
||||||
- name: KOMODO_DATABASE_URI
|
- name: KOMODO_DATABASE_URI
|
||||||
value: mongodb://$(DB_USERNAME):$(DB_PASSWORD)@komodo-ferretdb-2.komodo:27017/komodo
|
value: mongodb://$(DB_USERNAME):$(DB_PASSWORD)@komodo-ferretdb-2.komodo:27017/komodo
|
||||||
@@ -95,11 +95,15 @@ komodo:
|
|||||||
tag: 2.7.0
|
tag: 2.7.0
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
env:
|
env:
|
||||||
- name: FERRETDB_POSTGRESQL_URL
|
- name: DB_USERNAME
|
||||||
|
value: ferret
|
||||||
|
- name: DB_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: komodo-postgresql-17-fdb-cluster-ferret
|
name: komodo-postgresql-17-fdb-cluster-ferret
|
||||||
key: uri
|
key: password
|
||||||
|
- name: FERRETDB_POSTGRESQL_URL
|
||||||
|
value: postgresql://$(DB_USERNAME):$(DB_PASSWORD)@komodo-postgresql-17-fdb-cluster-rw.komodo.svc.cluster.local:5432/ferretDB
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 10m
|
||||||
@@ -170,7 +174,6 @@ postgresql-17-fdb-cluster:
|
|||||||
tag: "17-0.106.0-ferretdb-2.5.0"
|
tag: "17-0.106.0-ferretdb-2.5.0"
|
||||||
postgresUID: 999
|
postgresUID: 999
|
||||||
postgresGID: 999
|
postgresGID: 999
|
||||||
enableSuperuserAccess: true
|
|
||||||
postgresql:
|
postgresql:
|
||||||
parameters:
|
parameters:
|
||||||
cron.database_name: 'ferretDB'
|
cron.database_name: 'ferretDB'
|
||||||
@@ -198,13 +201,7 @@ postgresql-17-fdb-cluster:
|
|||||||
postInitApplicationSQL:
|
postInitApplicationSQL:
|
||||||
- CREATE EXTENSION IF NOT EXISTS pg_cron;
|
- CREATE EXTENSION IF NOT EXISTS pg_cron;
|
||||||
- CREATE EXTENSION IF NOT EXISTS documentdb CASCADE;
|
- CREATE EXTENSION IF NOT EXISTS documentdb CASCADE;
|
||||||
- ALTER USER ferret WITH PASSWORD '${PASSWORD}';
|
|
||||||
- GRANT documentdb_admin_role TO ferret;
|
- GRANT documentdb_admin_role TO ferret;
|
||||||
- GRANT USAGE ON SCHEMA documentdb_core TO ferret;
|
|
||||||
- GRANT USAGE ON SCHEMA documentdb_api TO ferret;
|
|
||||||
- GRANT USAGE ON SCHEMA documentdb_core TO pg_monitor;
|
|
||||||
- GRANT USAGE ON SCHEMA documentdb_api TO pg_monitor;
|
|
||||||
- GRANT SELECT ON ALL TABLES IN SCHEMA documentdb_core TO pg_monitor;
|
|
||||||
recovery:
|
recovery:
|
||||||
method: objectStore
|
method: objectStore
|
||||||
objectStore:
|
objectStore:
|
||||||
@@ -231,7 +228,7 @@ postgresql-17-fdb-cluster:
|
|||||||
# isWALArchiver: false
|
# isWALArchiver: false
|
||||||
scheduledBackups:
|
scheduledBackups:
|
||||||
- name: live-backup
|
- name: live-backup
|
||||||
suspend: true
|
suspend: false
|
||||||
immediate: true
|
immediate: true
|
||||||
schedule: "0 0 0 * * *"
|
schedule: "0 0 0 * * *"
|
||||||
backupName: garage-local
|
backupName: garage-local
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ searxng:
|
|||||||
main:
|
main:
|
||||||
image:
|
image:
|
||||||
repository: searxng/searxng
|
repository: searxng/searxng
|
||||||
tag: latest@sha256:8d77102a0d2c615e88c5184868dc2c32cd361413dbc104abc301f54079fd40a2
|
tag: latest@sha256:52521b669f98e98d1a2f9dd1004641c83ac8933db17bc3d92751e7cf6272b274
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
env:
|
env:
|
||||||
- name: SEARXNG_BASE_URL
|
- name: SEARXNG_BASE_URL
|
||||||
@@ -39,7 +39,7 @@ searxng:
|
|||||||
main:
|
main:
|
||||||
image:
|
image:
|
||||||
repository: searxng/searxng
|
repository: searxng/searxng
|
||||||
tag: latest@sha256:8d77102a0d2c615e88c5184868dc2c32cd361413dbc104abc301f54079fd40a2
|
tag: latest@sha256:52521b669f98e98d1a2f9dd1004641c83ac8933db17bc3d92751e7cf6272b274
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
env:
|
env:
|
||||||
- name: SEARXNG_BASE_URL
|
- name: SEARXNG_BASE_URL
|
||||||
|
|||||||
Reference in New Issue
Block a user