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