apiVersion: v1 kind: ConfigMap metadata: name: unrip-config namespace: unrip data: NEAR_INTENTS_WS_URL: wss://solver-relay-v2.chaindefuser.com/ws NEAR_INTENTS_PAIR_FILTER: nep141:btc.omft.near->nep141:gnosis-0x420ca0f9b9b604ce0fd9c18ef134c705e5fa3430.omf KAFKA_BROKERS: redpanda.unrip.svc.cluster.local:9092 KAFKA_CLIENT_ID: unrip KAFKA_TOPIC_RAW_NEAR_INTENTS_QUOTE: raw.near_intents.quote KAFKA_TOPIC_NORM_SWAP_DEMAND: norm.swap_demand KAFKA_TOPIC_CMD_EXECUTE_TRADE: cmd.execute_trade KAFKA_TOPIC_EXEC_TRADE_RESULT: exec.trade_result KAFKA_CONSUMER_GROUP_DUMMY: dummy-reactor-v1 KAFKA_CONSUMER_GROUP_EXECUTOR: dummy-executor-v1 EXECUTOR_STATE_DIR: /var/lib/unrip/executor-state PROJECT_NAME: unrip PROJECT_NAMESPACE: unrip --- apiVersion: v1 kind: PersistentVolumeClaim metadata: name: executor-state namespace: unrip spec: accessModes: ["ReadWriteOnce"] resources: requests: storage: 5Gi --- apiVersion: apps/v1 kind: Deployment metadata: name: near-intents-ingest namespace: unrip spec: replicas: 1 selector: matchLabels: app: near-intents-ingest template: metadata: labels: app: near-intents-ingest app.kubernetes.io/part-of: unrip spec: imagePullSecrets: - name: unrip-registry-creds containers: - name: app image: ghcr.io/example/unrip:bootstrap imagePullPolicy: IfNotPresent command: ["node", "src/apps/near-intents-ingest.mjs"] envFrom: - configMapRef: name: unrip-config - secretRef: name: unrip-secrets --- apiVersion: apps/v1 kind: Deployment metadata: name: dummy-reactor namespace: unrip spec: replicas: 1 selector: matchLabels: app: dummy-reactor template: metadata: labels: app: dummy-reactor app.kubernetes.io/part-of: unrip spec: imagePullSecrets: - name: unrip-registry-creds containers: - name: app image: ghcr.io/example/unrip:bootstrap imagePullPolicy: IfNotPresent command: ["node", "src/apps/dummy-reactor.mjs"] envFrom: - configMapRef: name: unrip-config - secretRef: name: unrip-secrets --- apiVersion: apps/v1 kind: Deployment metadata: name: dummy-executor namespace: unrip spec: replicas: 1 selector: matchLabels: app: dummy-executor template: metadata: labels: app: dummy-executor app.kubernetes.io/part-of: unrip spec: imagePullSecrets: - name: unrip-registry-creds containers: - name: app image: ghcr.io/example/unrip:bootstrap imagePullPolicy: IfNotPresent command: ["node", "src/apps/dummy-executor.mjs"] envFrom: - configMapRef: name: unrip-config - secretRef: name: unrip-secrets volumeMounts: - name: executor-state mountPath: /var/lib/unrip/executor-state volumes: - name: executor-state persistentVolumeClaim: claimName: executor-state --- apiVersion: apps/v1 kind: Deployment metadata: name: dummy-consumer namespace: unrip spec: replicas: 1 selector: matchLabels: app: dummy-consumer template: metadata: labels: app: dummy-consumer app.kubernetes.io/part-of: unrip spec: imagePullSecrets: - name: unrip-registry-creds containers: - name: app image: ghcr.io/example/unrip:bootstrap imagePullPolicy: IfNotPresent command: ["node", "src/apps/dummy-consumer.mjs"] envFrom: - configMapRef: name: unrip-config - secretRef: name: unrip-secrets