apiVersion: apps/v1
kind: Deployment
metadata:
  name: i2pd
spec:
  selector:
    matchLabels:
      app.kubernetes.io/name: i2pd
      app.kubernetes.io/part-of: ip2d
  template:
    metadata:
      labels:
        app.kubernetes.io/name: i2pd
        app.kubernetes.io/part-of: ip2d
    spec:
      hostNetwork: true
      containers:
      - image: ghcr.io/purplei2p/i2pd:release-2.50.2
        name: i2pd
        volumeMounts:
        - mountPath: /home/i2pd/data
          name: data
        - mountPath: /i2pd_certificates
          name: certs
      volumes:
      - hostPath:
          path: /var/lib/i2pd/home/i2pd/data
          type: Directory
        name: data
      - hostPath:
          path: /var/lib/i2pd/i2pd_certificates
          type: Directory
        name: certs
