remove copy
This commit is contained in:
@@ -101,42 +101,42 @@ komodo:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 128Mi
|
||||
copy:
|
||||
image:
|
||||
repository: ghcr.io/moghtech/komodo-cli
|
||||
tag: latest
|
||||
pullPolicy: IfNotPresent
|
||||
command: ["km"]
|
||||
args: ["database", "copy", "-y"]
|
||||
env:
|
||||
- name: DB_USERNAME
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: komodo-postgresql-17-cluster-app
|
||||
key: user
|
||||
- name: DB_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: komodo-postgresql-17-cluster-app
|
||||
key: password
|
||||
- name: KOMODO_DATABASE_URI
|
||||
value: mongodb://$(DB_USERNAME):$(DB_PASSWORD)@localhost:27017/komodo?authMechanism=PLAIN
|
||||
- name: KOMODO_DATABASE_DB_NAME
|
||||
value: komodo
|
||||
- name: TARGETDB_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: komodo-postgresql-17-fdb-cluster-superuser
|
||||
key: password
|
||||
- name: TARGETDB_HOST
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: komodo-postgresql-17-fdb-cluster-superuser
|
||||
key: host
|
||||
- name: KOMODO_CLI_DATABASE_TARGET_URI
|
||||
value: mongodb://postgres:${TARGETDB_PASSWORD}@migrate:27017
|
||||
- name: KOMODO_CLI_DATABASE_TARGET_DB_NAME
|
||||
value: komodo
|
||||
# copy:
|
||||
# image:
|
||||
# repository: ghcr.io/moghtech/komodo-cli
|
||||
# tag: latest
|
||||
# pullPolicy: IfNotPresent
|
||||
# command: ["km"]
|
||||
# args: ["database", "copy", "-y"]
|
||||
# env:
|
||||
# - name: DB_USERNAME
|
||||
# valueFrom:
|
||||
# secretKeyRef:
|
||||
# name: komodo-postgresql-17-cluster-app
|
||||
# key: user
|
||||
# - name: DB_PASSWORD
|
||||
# valueFrom:
|
||||
# secretKeyRef:
|
||||
# name: komodo-postgresql-17-cluster-app
|
||||
# key: password
|
||||
# - name: KOMODO_DATABASE_URI
|
||||
# value: mongodb://$(DB_USERNAME):$(DB_PASSWORD)@localhost:27017/komodo?authMechanism=PLAIN
|
||||
# - name: KOMODO_DATABASE_DB_NAME
|
||||
# value: komodo
|
||||
# - name: TARGETDB_PASSWORD
|
||||
# valueFrom:
|
||||
# secretKeyRef:
|
||||
# name: komodo-postgresql-17-fdb-cluster-superuser
|
||||
# key: password
|
||||
# - name: TARGETDB_HOST
|
||||
# valueFrom:
|
||||
# secretKeyRef:
|
||||
# name: komodo-postgresql-17-fdb-cluster-superuser
|
||||
# key: host
|
||||
# - name: KOMODO_CLI_DATABASE_TARGET_URI
|
||||
# value: mongodb://postgres:${TARGETDB_PASSWORD}@migrate:27017
|
||||
# - name: KOMODO_CLI_DATABASE_TARGET_DB_NAME
|
||||
# value: komodo
|
||||
migrate:
|
||||
type: deployment
|
||||
replicas: 1
|
||||
@@ -173,6 +173,7 @@ komodo:
|
||||
port: 80
|
||||
targetPort: 9120
|
||||
protocol: HTTP
|
||||
|
||||
persistence:
|
||||
cache:
|
||||
storageClass: ceph-block
|
||||
|
Reference in New Issue
Block a user