apiVersion: apps/v1
kind: Deployment
metadata:
  annotations:
    kompose.cmd: kompose convert -o k83/
    kompose.version: 1.19.0 (f63a961c)
  
  labels:
    io.kompose.service: subscriptions-scheduler
  name: subscriptions-scheduler
spec:
  replicas: 1
  selector:
    matchLabels:
      io.kompose.service: subscriptions-scheduler
  strategy: {}
  template:
    metadata:
      annotations:
        kompose.cmd: kompose convert -o k83/
        kompose.version: 1.19.0 (f63a961c)
      labels:
        io.kompose.service: subscriptions-scheduler
    spec:
      containers:
        - args:
            - ./scripts/subscription_scheduler.js
          env:
            - name: DATABASE_URL
              valueFrom:
                secretKeyRef:
                  key: SERVICE_CORE_DB_URI
                  name: catarse-secrets
            - name: SUBSCRIPTION_INTERVAL
              valueFrom:
                configMapKeyRef:
                  key: SUBSCRIPTION_INTERVAL
                  name: subscriptions-scheduler-env
          image: catarse-deploy/payments
          name: subscriptions-scheduler
          resources: {}
      restartPolicy: Always
status: {}
