4 Commits

Author SHA1 Message Date
d0177e26f7 chore(deps): update helm release cilium to v1.19.0
All checks were successful
lint-test-helm / lint-helm (pull_request) Successful in 1m5s
2026-02-06 05:00:59 +00:00
60b73c4c75 feat: enable backup
All checks were successful
lint-test-helm / lint-helm (push) Successful in 14s
render-manifests-push / render-manifests-push (push) Successful in 33s
renovate / renovate (push) Successful in 1m33s
2026-02-05 22:57:19 -06:00
8933422e12 feat: store ferret secret, scale
All checks were successful
lint-test-helm / lint-helm (push) Successful in 58s
render-manifests-push / render-manifests-push (push) Successful in 1m47s
renovate / renovate (push) Successful in 2m23s
2026-02-05 22:55:30 -06:00
3eda30bae0 fix: add grant
All checks were successful
lint-test-helm / lint-helm (push) Successful in 17s
render-manifests-push / render-manifests-push (push) Successful in 1m20s
renovate / renovate (push) Successful in 2m35s
2026-02-05 22:42:12 -06:00
3 changed files with 17 additions and 13 deletions

View File

@@ -3,4 +3,4 @@ dependencies:
repository: https://helm.cilium.io/
version: 1.19.0
digest: sha256:d2319facc93cab2a0a137588d8bd93315b52025b3ec86bc89edb0e236a74c814
generated: "2026-02-06T04:39:45.698412831Z"
generated: "2026-02-06T05:00:49.379278052Z"

View File

@@ -70,3 +70,10 @@ spec:
key: /cl01tl/komodo/ferret
metadataPolicy: None
property: uri
- secretKey: password
remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: /cl01tl/komodo/ferret
metadataPolicy: None
property: password

View File

@@ -2,7 +2,7 @@ komodo:
controllers:
main:
type: deployment
replicas: 0
replicas: 1
strategy: Recreate
revisionHistoryLimit: 3
containers:
@@ -57,7 +57,7 @@ komodo:
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
name: komodo-postgresql-17-fdb-cluster-app
name: komodo-postgresql-17-fdb-cluster-ferret
key: password
- name: KOMODO_DATABASE_URI
value: mongodb://$(DB_USERNAME):$(DB_PASSWORD)@komodo-ferretdb-2.komodo:27017/komodo
@@ -95,11 +95,15 @@ komodo:
tag: 2.7.0
pullPolicy: IfNotPresent
env:
- name: FERRETDB_POSTGRESQL_URL
- name: DB_USERNAME
value: ferret
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
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:
requests:
cpu: 10m
@@ -170,7 +174,6 @@ postgresql-17-fdb-cluster:
tag: "17-0.106.0-ferretdb-2.5.0"
postgresUID: 999
postgresGID: 999
enableSuperuserAccess: true
postgresql:
parameters:
cron.database_name: 'ferretDB'
@@ -198,13 +201,7 @@ postgresql-17-fdb-cluster:
postInitApplicationSQL:
- CREATE EXTENSION IF NOT EXISTS pg_cron;
- CREATE EXTENSION IF NOT EXISTS documentdb CASCADE;
- ALTER USER ferret WITH PASSWORD '${PASSWORD}';
- 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:
method: objectStore
objectStore:
@@ -231,7 +228,7 @@ postgresql-17-fdb-cluster:
# isWALArchiver: false
scheduledBackups:
- name: live-backup
suspend: true
suspend: false
immediate: true
schedule: "0 0 0 * * *"
backupName: garage-local