add
All checks were successful
lint-test-helm / helm-lint (push) Successful in 9s
renovate / renovate (push) Successful in 1m3s

This commit is contained in:
2025-10-03 00:36:13 -05:00
parent 4a65a12d00
commit c4e407d91d

View File

@@ -101,47 +101,6 @@ komodo:
requests: requests:
cpu: 10m cpu: 10m
memory: 128Mi memory: 128Mi
ferretdb2:
image:
repository: ghcr.io/ferretdb/ferretdb
tag: 2.5.0
pullPolicy: IfNotPresent
env:
- name: FERRETDB_POSTGRESQL_URL
valueFrom:
secretKeyRef:
name: komodo-postgresql-17-fdb-cluster-superuser
key: uri
resources:
requests:
cpu: 10m
memory: 128Mi
copy-database:
image:
repository: ghcr.io/moghtech/komodo-cli
tag: latest
pullPolicy: IfNotPresent
args:
- km database copy -y
env:
- name: KOMODO_DATABASE_URI
valueFrom:
secretKeyRef:
name: komodo-postgresql-17-cluster-app
key: uri
- name: KOMODO_DATABASE_DB_NAME
value: app
- name: KOMODO_CLI_DATABASE_TARGET_URI
valueFrom:
secretKeyRef:
name: komodo-postgresql-17-fdb-cluster-superuser
key: uri
- name: KOMODO_CLI_DATABASE_TARGET_DB_NAME
value: postgres
resources:
requests:
cpu: 10m
memory: 128Mi
service: service:
main: main:
controller: main controller: main
@@ -171,6 +130,55 @@ komodo:
main: main:
- path: /syncs - path: /syncs
readOnly: false readOnly: false
komodo-migrate:
controllers:
main:
type: deployment
replicas: 1
strategy: Recreate
revisionHistoryLimit: 3
containers:
ferretdb2:
image:
repository: ghcr.io/ferretdb/ferretdb
tag: 2.5.0
pullPolicy: IfNotPresent
env:
- name: FERRETDB_POSTGRESQL_URL
valueFrom:
secretKeyRef:
name: komodo-postgresql-17-fdb-cluster-superuser
key: uri
resources:
requests:
cpu: 10m
memory: 128Mi
copy-database:
image:
repository: ghcr.io/moghtech/komodo-cli
tag: latest
pullPolicy: IfNotPresent
command:
- km database copy -y
env:
- name: KOMODO_DATABASE_URI
valueFrom:
secretKeyRef:
name: komodo-postgresql-17-cluster-app
key: uri
- name: KOMODO_DATABASE_DB_NAME
value: app
- name: KOMODO_CLI_DATABASE_TARGET_URI
valueFrom:
secretKeyRef:
name: komodo-postgresql-17-fdb-cluster-superuser
key: uri
- name: KOMODO_CLI_DATABASE_TARGET_DB_NAME
value: postgres
resources:
requests:
cpu: 10m
memory: 128Mi
postgres-17-cluster: postgres-17-cluster:
mode: recovery mode: recovery
cluster: cluster: