From 467dbf47f3f634bb2aa70811724621de14a5a0ec Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Sat, 4 May 2024 19:26:50 -0400 Subject: [PATCH] Remove navidrome --- navidrome/navidrome-data.yaml | 12 ----- navidrome/navidrome-deployment.yaml | 71 ----------------------------- navidrome/navidrome-pv-music.yaml | 21 --------- navidrome/navidrome-pvc-music.yaml | 13 ------ navidrome/navidrome-service.yaml | 13 ------ 5 files changed, 130 deletions(-) delete mode 100644 navidrome/navidrome-data.yaml delete mode 100644 navidrome/navidrome-deployment.yaml delete mode 100644 navidrome/navidrome-pv-music.yaml delete mode 100644 navidrome/navidrome-pvc-music.yaml delete mode 100644 navidrome/navidrome-service.yaml diff --git a/navidrome/navidrome-data.yaml b/navidrome/navidrome-data.yaml deleted file mode 100644 index cc2b2a3..0000000 --- a/navidrome/navidrome-data.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: navidrome-pvc-data - namespace: navidrome-ns -spec: - accessModes: - - ReadWriteOnce - storageClassName: longhorn - resources: - requests: - storage: 16Gi diff --git a/navidrome/navidrome-deployment.yaml b/navidrome/navidrome-deployment.yaml deleted file mode 100644 index 8d90be1..0000000 --- a/navidrome/navidrome-deployment.yaml +++ /dev/null @@ -1,71 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: navidrome - namespace: navidrome-ns -spec: - selector: - matchLabels: - app: navidrome - template: - metadata: - labels: - app: navidrome - spec: - nodeSelector: - kubernetes.io/hostname: gluttony - securityContext: - fsGroup: 1000 - containers: - - name: navidrome - image: deluan/navidrome:latest - securityContext: - runAsUser: 1000 - runAsGroup: 1000 - ports: - - containerPort: 4533 - env: - - name: ND_BASEURL - value: "https://music.clortox.com" - - name: ND_CACHEFOLDER - value: "/cache" - - name: ND_MUSICFOLDER - value: "/music" - - name: ND_DATAFOLDER - value: "/data" - - - name: ND_SCANSCHEDULE - value: "1h" - - name: ND_LOGLEVEL - value: "info" - - name: ND_SESSIONTIMEOUT - value: "24h" - - - name: ND_ENABLESHARING - value: "true" - - name: ND_UILOGINBACKGROUNDURL - value: "https://general.api.clortox.com/images/background/today" - - name: ND_UIWELCOMEMESSAGE - value: "Lol. Lmao even" - - - name: ND_REVERSEPROXYUSERHEADER - value: "X-Authentik-Username" - - name: ND_REVERSEPROXYWHITELIST - value: "0.0.0.0/0" - volumeMounts: - - name: data - mountPath: "/data" - - name: music - mountPath: "/music" - readOnly: true - - name: cache - mountPath: "/cache" - volumes: - - name: data - persistentVolumeClaim: - claimName: navidrome-pvc-data - - name: music - persistentVolumeClaim: - claimName: navidrome-pvc-music - - name: cache - emptyDir: {} diff --git a/navidrome/navidrome-pv-music.yaml b/navidrome/navidrome-pv-music.yaml deleted file mode 100644 index 16a7294..0000000 --- a/navidrome/navidrome-pv-music.yaml +++ /dev/null @@ -1,21 +0,0 @@ -apiVersion: v1 -kind: PersistentVolume -metadata: - name: navidrome-pv-music - namespace: navidrome-ns -spec: - storageClassName: local-storage - capacity: - storage: 18000Gi - accessModes: - - ReadWriteMany - hostPath: - path: "/Main/Media" - nodeAffinity: - required: - nodeSelectorTerms: - - matchExpressions: - - key: kubernetes.io/hostname - operator: In - values: - - gluttony diff --git a/navidrome/navidrome-pvc-music.yaml b/navidrome/navidrome-pvc-music.yaml deleted file mode 100644 index d6dc488..0000000 --- a/navidrome/navidrome-pvc-music.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: navidrome-pvc-music - namespace: navidrome-ns -spec: - volumeName: navidrome-pv-music - storageClassName: local-storage - accessModes: - - ReadWriteMany - resources: - requests: - storage: 18000Gi diff --git a/navidrome/navidrome-service.yaml b/navidrome/navidrome-service.yaml deleted file mode 100644 index 2f7f829..0000000 --- a/navidrome/navidrome-service.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: navidrome-services - namespace: navidrome-ns -spec: - type: LoadBalancer - ports: - - port: 80 - targetPort: 4533 - protocol: TCP - selector: - app: navidrome