apiVersion: apps/v1
kind: Deployment
metadata:
  name: flower
  namespace: production
spec:
  selector:
    matchLabels:
      app: flower
  template:
    metadata:
      labels:
        app: flower
    spec:
      containers:
      - name: flower
        image: openstatefoundation/open-raadsinformatie-backend
        command: ["celery", "flower", "--app=ocd_backend.app:celery_app"]
        ports:
        - containerPort: 5555
        envFrom:
        - configMapRef:
            name: config
        resources:
          requests:
            memory: 120Mi
