apiVersion: apps/v1
kind: Deployment
metadata:
  name: busybox
  namespace: pihole
spec:
  replicas: 1
  selector:
    matchLabels:
      app: busybox
  template:
    metadata:
      labels:
        app: busybox
        terraform: "false"
    spec:
      volumes:
        - name: data-pihole-pvc-v
          persistentVolumeClaim:
            claimName: data-pihole-pvc
      containers:
      - name: busybox-app-main-container
        image: klimdos/copy-box:0.1
        #command: ['sh', '-c', 'sleep 900000']
        # resources:
        #   limits:
        #     memory: "128Mi"
        #     cpu: "500m"

        volumeMounts:
        - name: data-pihole-pvc-v
          mountPath: /tmp/pihole

