Skip to content

Commit

Permalink
fixes: and updates midarr configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
axeII committed Jun 27, 2023
1 parent ace5cef commit e73532a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
12 changes: 4 additions & 8 deletions kubernetes/apps/media/midarr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions kubernetes/apps/media/midarr/app/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./helmrelease.yaml
# - ./secret.sops.yaml
6 changes: 3 additions & 3 deletions kubernetes/apps/media/midarr/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ 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
name: home-kubernetes
healthChecks:
- apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
name: sonarr
name: midarr
namespace: media
interval: 30m
retryInterval: 1m
Expand Down

0 comments on commit e73532a

Please sign in to comment.