summaryrefslogtreecommitdiff
path: root/apps/heimdall/deployment.yaml
blob: 38b4122060d61ce403a219590385756832f2323c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
apiVersion: apps/v1
kind: Deployment  
metadata:
  name: heimdall
  namespace: heimdall
spec:
  replicas: 1
  selector:
    matchLabels:
      app: heimdall
  template:
    metadata:
      labels:
        app: heimdall
    spec:
      containers:
      - name: heimdall
        image: lscr.io/linuxserver/heimdall:latest
        ports:
        - containerPort: 80
        volumeMounts:
          - name: heimdall-config
            mountPath: /config
        env:
        - name: PUID
          value: "1000"
        - name: PGID
          value: "1000"
      #volumes:
      #- name: heimdall-config
      #  hostPath:
      #    path: ./heimdall-config
      #    type: DirectoryOrCreate
      volumes:
      - name: heimdall-config
        persistentVolumeClaim:
          claimName: heimdall-pvc