apiVersion: apps/v1
kind: Deployment
metadata: 
  name: bot-deployment
  labels:
    app: bot
spec:
  replicas: 1
  selector: 
    matchLabels:
      app: bot
  template:
    metadata:
      labels:
        app: bot
    spec:
      containers:
      - env:
        - name: ETCD_URLS
          value: etcd.default.svc.cluster.local:2379
        - name: TELEGRAM_TOKEN
          value: <your telegram token>
        - name: DEBUG
          value: "*"
        image: labbsr0x/big-brother-bot:latest
        imagePullPolicy: IfNotPresent
        name: bot
        ports: 
        - containerPort: 3000
        resources: {}
        volumeMounts:
        - mountPath: /data
          name: bot
      restartPolicy: Always
      volumes:
      - name: bot
        persistentVolumeClaim:
          claimName: bot