kind: Deployment
apiVersion: apps/v1
metadata:
  name: homer
  namespace: default
  labels:
    app: homer
spec:
  replicas: 1
  selector:
    matchLabels:
      app: homer
  template:
    metadata:
      labels:
        app: homer
    spec:
      containers:
      - name: homer
        image: b4bz/homer
        imagePullPolicy: Always
        env:
          - name: UID
            value: "1000"
          - name: GID
            value: "1000"
        ports:
          - containerPort: 8080
        volumeMounts:
        - mountPath: /www/assets
          name: assets
      volumes:
      - name: assets
        persistentVolumeClaim:
          claimName: homer