diff --git a/kubernetes/apps/media/midarr/app/helmrelease.yaml b/kubernetes/apps/media/midarr/app/helmrelease.yaml index 43578a71a..b35556d72 100644 --- a/kubernetes/apps/media/midarr/app/helmrelease.yaml +++ b/kubernetes/apps/media/midarr/app/helmrelease.yaml @@ -1,5 +1,4 @@ --- -# yaml-language-server: $schema=https://kubernetes-schemas.devbu.io/helm.toolkit.fluxcd.io/helmrelease_v2beta1.json apiVersion: helm.toolkit.fluxcd.io/v2beta1 kind: HelmRelease metadata: @@ -43,7 +42,7 @@ spec: repository: ghcr.io/midarrlabs/midarr-server tag: v3.1.0-beta.2 env: - TZ: America/New_York + TZ: ${TIMEZONE} APP_URL: http://midarr.media.svc.cluster.local:4000 RADARR_BASE_URL: radarr.media.svc.cluster.local SONARR_BASE_URL: sonarr.media.svc.cluster.local @@ -62,20 +61,17 @@ spec: annotations: hajimari.io/icon: mdi:play-circle-outline hosts: - - host: &host "{{ .Release.Name }}.${SECRET_PUBLIC_DOMAIN}" + - host: &host "{{ .Release.Name }}.${SECRET_DOMAIN}" paths: - path: / pathType: Prefix tls: - hosts: - *host - secretName: midarr-tls persistence: - media: + nfs-nas-media: enabled: true - type: nfs - server: osiris.286k.co - path: /pluto/media + existingClaim: media-nfs-share-pvc mountPath: /media readOnly: true resources: diff --git a/kubernetes/apps/media/midarr/app/kustomization.yaml b/kubernetes/apps/media/midarr/app/kustomization.yaml new file mode 100644 index 000000000..06065f3e1 --- /dev/null +++ b/kubernetes/apps/media/midarr/app/kustomization.yaml @@ -0,0 +1,6 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - ./helmrelease.yaml + # - ./secret.sops.yaml diff --git a/kubernetes/apps/media/midarr/ks.yaml b/kubernetes/apps/media/midarr/ks.yaml index 3590c714d..cdb3a4675 100644 --- a/kubernetes/apps/media/midarr/ks.yaml +++ b/kubernetes/apps/media/midarr/ks.yaml @@ -6,8 +6,8 @@ metadata: namespace: flux-system spec: dependsOn: - - name: cluster-apps-longhorn - path: ./kubernetes/apps/media/sonarr/app + - name: cluster-apps-ingress-nginx + path: ./kubernetes/apps/media/midarr/app prune: true sourceRef: kind: GitRepository @@ -15,7 +15,7 @@ spec: healthChecks: - apiVersion: helm.toolkit.fluxcd.io/v2beta1 kind: HelmRelease - name: sonarr + name: midarr namespace: media interval: 30m retryInterval: 1m