apiVersion: apps/v1
kind: Deployment
metadata:
  name: olli
spec:
  selector:
    matchLabels:
      app: olli
  template:
    metadata:
      labels:
        app: olli
    spec:
      containers:
      - name: olli
        image: ghcr.io/python-discord/olli:main
        resources:
          limits:
            memory: "128Mi"
            cpu: "300m"
        envFrom:
          - secretRef:
              name: olli-env
        volumeMounts:
          - mountPath: /config/
            name: olli-config
      volumes:
        - name: olli-config
          configMap:
            name: olli-config
