From 974d4457148e9a9ff3a0231eece663d04faaf16d Mon Sep 17 00:00:00 2001 From: R-man3000 Date: Sat, 30 May 2026 21:27:30 +0300 Subject: Restructurig, start creating heimdall helm chart --- apps/heimdall/Chart.yaml | 5 ++++ apps/heimdall/deployment.yaml | 39 ----------------------------- apps/heimdall/ingress.yaml | 19 -------------- apps/heimdall/notes.txt | 2 -- apps/heimdall/old_manifests/deployment.yaml | 39 +++++++++++++++++++++++++++++ apps/heimdall/old_manifests/ingress.yaml | 19 ++++++++++++++ apps/heimdall/old_manifests/notes.txt | 2 ++ apps/heimdall/old_manifests/pvc.yaml | 12 +++++++++ apps/heimdall/old_manifests/service.yaml | 13 ++++++++++ apps/heimdall/pvc.yaml | 12 --------- apps/heimdall/service.yaml | 13 ---------- apps/heimdall/templates/_helpers.tpl | 1 + apps/heimdall/values.yaml | 33 ++++++++++++++++++++++++ 13 files changed, 124 insertions(+), 85 deletions(-) create mode 100644 apps/heimdall/Chart.yaml delete mode 100644 apps/heimdall/deployment.yaml delete mode 100644 apps/heimdall/ingress.yaml delete mode 100644 apps/heimdall/notes.txt create mode 100644 apps/heimdall/old_manifests/deployment.yaml create mode 100644 apps/heimdall/old_manifests/ingress.yaml create mode 100644 apps/heimdall/old_manifests/notes.txt create mode 100644 apps/heimdall/old_manifests/pvc.yaml create mode 100644 apps/heimdall/old_manifests/service.yaml delete mode 100644 apps/heimdall/pvc.yaml delete mode 100644 apps/heimdall/service.yaml create mode 100644 apps/heimdall/templates/_helpers.tpl create mode 100644 apps/heimdall/values.yaml (limited to 'apps/heimdall') diff --git a/apps/heimdall/Chart.yaml b/apps/heimdall/Chart.yaml new file mode 100644 index 0000000..35e0486 --- /dev/null +++ b/apps/heimdall/Chart.yaml @@ -0,0 +1,5 @@ +apiVersion: v2 +name: heimdall +description: Heimdall application dashboard +type: application +version: 0.1.0 diff --git a/apps/heimdall/deployment.yaml b/apps/heimdall/deployment.yaml deleted file mode 100644 index 4f942a3..0000000 --- a/apps/heimdall/deployment.yaml +++ /dev/null @@ -1,39 +0,0 @@ -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" - - name: APP_URL - value: "http://heimdall.local:8080" - #volumes: - #- name: heimdall-config - # hostPath: - # path: ./heimdall-config - # type: DirectoryOrCreate - volumes: - - name: heimdall-config - persistentVolumeClaim: - claimName: heimdall-pvc diff --git a/apps/heimdall/ingress.yaml b/apps/heimdall/ingress.yaml deleted file mode 100644 index 407afd5..0000000 --- a/apps/heimdall/ingress.yaml +++ /dev/null @@ -1,19 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: heimdall-ingress - namespace: heimdall -spec: - ingressClassName: nginx - rules: - - http: - paths: - - path: / - pathType: Prefix - - backend: - service: - name: heimdall-service - - port: - number: 80 diff --git a/apps/heimdall/notes.txt b/apps/heimdall/notes.txt deleted file mode 100644 index 76c832a..0000000 --- a/apps/heimdall/notes.txt +++ /dev/null @@ -1,2 +0,0 @@ -Basic docker command: -sudo docker run --name=heimdall -d -v ./config:/config -e PGID=1000 -e PUID=1000 -p 8090:80 -p 8443:443 lscr.io/linuxserver/heimdall:latest diff --git a/apps/heimdall/old_manifests/deployment.yaml b/apps/heimdall/old_manifests/deployment.yaml new file mode 100644 index 0000000..4f942a3 --- /dev/null +++ b/apps/heimdall/old_manifests/deployment.yaml @@ -0,0 +1,39 @@ +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" + - name: APP_URL + value: "http://heimdall.local:8080" + #volumes: + #- name: heimdall-config + # hostPath: + # path: ./heimdall-config + # type: DirectoryOrCreate + volumes: + - name: heimdall-config + persistentVolumeClaim: + claimName: heimdall-pvc diff --git a/apps/heimdall/old_manifests/ingress.yaml b/apps/heimdall/old_manifests/ingress.yaml new file mode 100644 index 0000000..407afd5 --- /dev/null +++ b/apps/heimdall/old_manifests/ingress.yaml @@ -0,0 +1,19 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: heimdall-ingress + namespace: heimdall +spec: + ingressClassName: nginx + rules: + - http: + paths: + - path: / + pathType: Prefix + + backend: + service: + name: heimdall-service + + port: + number: 80 diff --git a/apps/heimdall/old_manifests/notes.txt b/apps/heimdall/old_manifests/notes.txt new file mode 100644 index 0000000..76c832a --- /dev/null +++ b/apps/heimdall/old_manifests/notes.txt @@ -0,0 +1,2 @@ +Basic docker command: +sudo docker run --name=heimdall -d -v ./config:/config -e PGID=1000 -e PUID=1000 -p 8090:80 -p 8443:443 lscr.io/linuxserver/heimdall:latest diff --git a/apps/heimdall/old_manifests/pvc.yaml b/apps/heimdall/old_manifests/pvc.yaml new file mode 100644 index 0000000..4bb3b60 --- /dev/null +++ b/apps/heimdall/old_manifests/pvc.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: heimdall-pvc + namespace: heimdall +spec: + accessModes: + - ReadWriteOnce + storageClassName: local-path # k3d's built-in provisioner + resources: + requests: + storage: 1Gi diff --git a/apps/heimdall/old_manifests/service.yaml b/apps/heimdall/old_manifests/service.yaml new file mode 100644 index 0000000..f3ad504 --- /dev/null +++ b/apps/heimdall/old_manifests/service.yaml @@ -0,0 +1,13 @@ +apiVersion: v1 +kind: Service +metadata: + name: heimdall-service + namespace: heimdall +spec: + selector: + app: heimdall + ports: + - protocol: TCP + port: 80 + targetPort: 80 + type: ClusterIP diff --git a/apps/heimdall/pvc.yaml b/apps/heimdall/pvc.yaml deleted file mode 100644 index 4bb3b60..0000000 --- a/apps/heimdall/pvc.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: heimdall-pvc - namespace: heimdall -spec: - accessModes: - - ReadWriteOnce - storageClassName: local-path # k3d's built-in provisioner - resources: - requests: - storage: 1Gi diff --git a/apps/heimdall/service.yaml b/apps/heimdall/service.yaml deleted file mode 100644 index f3ad504..0000000 --- a/apps/heimdall/service.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: heimdall-service - namespace: heimdall -spec: - selector: - app: heimdall - ports: - - protocol: TCP - port: 80 - targetPort: 80 - type: ClusterIP diff --git a/apps/heimdall/templates/_helpers.tpl b/apps/heimdall/templates/_helpers.tpl new file mode 100644 index 0000000..1333ed7 --- /dev/null +++ b/apps/heimdall/templates/_helpers.tpl @@ -0,0 +1 @@ +TODO diff --git a/apps/heimdall/values.yaml b/apps/heimdall/values.yaml new file mode 100644 index 0000000..72a6338 --- /dev/null +++ b/apps/heimdall/values.yaml @@ -0,0 +1,33 @@ +replicaCount: 1 + +image: + repository: lscr.io/linuxserver/heimdall + tag: "latest" + pullPolicy: IfNotPresent + +env: + puid: "1000" + pgid: "1000" + appUrl: "http://heimdall.local:8080" + +service: + type: ClusterIP + port: 80 + +ingress: + enabled: true + className: nginx + host: heimdall.local + +persistence: + enabled: true + storageClass: local-path + size: 1Gi + +resources: {} +# requests: +# cpu: 100m +# memory: 128Mi +# limits: +# cpu: 500m +# memory: 256Mi -- cgit v1.2.3