add
This commit is contained in:
@@ -101,47 +101,6 @@ komodo:
|
||||
requests:
|
||||
cpu: 10m
|
||||
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:
|
||||
main:
|
||||
controller: main
|
||||
@@ -171,6 +130,55 @@ komodo:
|
||||
main:
|
||||
- path: /syncs
|
||||
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:
|
||||
mode: recovery
|
||||
cluster:
|
||||
|
Reference in New Issue
Block a user