mirror of
https://github.com/outbackdingo/homelab-v.git
synced 2026-08-25 14:53:19 +00:00
feat(lidarr): Deploying Lidarr using Helm Chart
This commit is contained in:
@@ -41,12 +41,12 @@ spec:
|
||||
port: 7878
|
||||
middlewares:
|
||||
- name: traefik-forward-auth
|
||||
- match: Host(`lidarr.stonegarden.dev`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: lidarr
|
||||
port: 8686
|
||||
middlewares:
|
||||
- name: traefik-forward-auth
|
||||
# - match: Host(`lidarr.stonegarden.dev`)
|
||||
# kind: Rule
|
||||
# services:
|
||||
# - name: lidarr
|
||||
# port: 8686
|
||||
# middlewares:
|
||||
# - name: traefik-forward-auth
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
@@ -1,6 +1,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: arr
|
||||
|
||||
resources:
|
||||
- ingress.yaml
|
||||
@@ -9,4 +8,4 @@ resources:
|
||||
- prowlarr
|
||||
- sonarr
|
||||
- radarr
|
||||
- lidarr
|
||||
- lidarr.yaml
|
||||
@@ -0,0 +1,47 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: lidarr
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: applications
|
||||
source:
|
||||
path: helm/application
|
||||
repoURL: https://github.com/vehagn/homelab
|
||||
targetRevision: HEAD
|
||||
helm:
|
||||
values: |
|
||||
name: lidarr
|
||||
namespace: arr
|
||||
image:
|
||||
name: lscr.io/linuxserver/lidarr
|
||||
hostVolumes:
|
||||
- name: lidarr-config
|
||||
hostPath: /disk/etc/lidarr
|
||||
mountPath: /config
|
||||
- name: media-data
|
||||
hostPath: /disk/data
|
||||
mountPath: /app/data
|
||||
env:
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: TZ
|
||||
value: Europe/Oslo
|
||||
service:
|
||||
containerPort: 8686
|
||||
auth:
|
||||
enabled: true
|
||||
create: false
|
||||
destination:
|
||||
namespace: arr
|
||||
name: in-cluster
|
||||
syncPolicy:
|
||||
automated:
|
||||
selfHeal: true
|
||||
prune: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -1,5 +1,7 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: arr
|
||||
|
||||
commonLabels:
|
||||
app: lidarr
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: arr
|
||||
|
||||
commonLabels:
|
||||
app: prowlarr
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: arr
|
||||
|
||||
commonLabels:
|
||||
app: radarr
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: arr
|
||||
|
||||
commonLabels:
|
||||
app: sonarr
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: arr
|
||||
|
||||
commonLabels:
|
||||
app: qbittorrent
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: arr
|
||||
|
||||
commonLabels:
|
||||
app: traefik-forward-auth
|
||||
|
||||
|
||||
@@ -14,13 +14,26 @@ spec:
|
||||
labels:
|
||||
app: {{ .Values.name }}
|
||||
spec:
|
||||
volumes:
|
||||
{{- range .Values.hostVolumes }}
|
||||
- name: {{ .name }}
|
||||
hostPath:
|
||||
path: {{ .hostPath }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: {{ .Values.name }}
|
||||
image: {{ .Values.image.name }}
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
volumeMounts:
|
||||
{{- range .Values.hostVolumes }}
|
||||
- name: {{ .name }}
|
||||
mountPath: {{ .mountPath }}
|
||||
{{- end }}
|
||||
env:
|
||||
{{- toYaml .Values.env | nindent 12 }}
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: {{ .Values.service.port }}
|
||||
containerPort: {{ .Values.service.containerPort }}
|
||||
protocol: TCP
|
||||
resources:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
|
||||
@@ -20,7 +20,14 @@ service:
|
||||
ingressRoute:
|
||||
create: true
|
||||
|
||||
resources: { }
|
||||
env: []
|
||||
|
||||
hostVolumes: []
|
||||
# - name: volume-name
|
||||
# hostPath: /host/path
|
||||
# mountPath: /container/path
|
||||
|
||||
resources: {}
|
||||
# limits:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
|
||||
@@ -9,6 +9,8 @@ spec:
|
||||
sourceRepos:
|
||||
- 'https://github.com/vehagn/*'
|
||||
destinations:
|
||||
- namespace: 'argocd'
|
||||
server: '*'
|
||||
- namespace: 'arr'
|
||||
server: '*'
|
||||
- namespace: 'home-assistant'
|
||||
|
||||
Reference in New Issue
Block a user