apiVersion: apps/v1 kind: Deployment metadata: name: trade-ingestor spec: template: spec: imagePullSecrets: [] containers: - name: ingestor image: node:20-slim imagePullPolicy: IfNotPresent env: - name: HASURA_GRAPHQL_URL value: http://hasura:8080/v1/graphql - name: HASURA_ADMIN_SECRET valueFrom: secretKeyRef: name: trade-hasura key: HASURA_GRAPHQL_ADMIN_SECRET - name: DLOB_MARKETS value: SOL-PERP,PUMP-PERP - name: TICKS_POLL_MS value: "1000" - name: TICKS_SOURCE value: "dlob_stats" command: - node args: - /opt/dlob/dlob-ingestor.mjs volumeMounts: - name: dlob-script mountPath: /opt/dlob/dlob-ingestor.mjs subPath: dlob-ingestor.mjs readOnly: true volumes: - name: dlob-script configMap: name: trade-dlob-ingestor-script