Declare Plex and Jellyfin GitOps applications and transfer routes
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
media:
|
||||
hostPath: /komposthaufen/multimedia
|
||||
mountPath: /komposthaufen/multimedia
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: arschrock
|
||||
media.brunner.ninja/multimedia-ready: "true"
|
||||
tolerations:
|
||||
- key: node-role.kubernetes.io/control-plane
|
||||
operator: Exists
|
||||
effect: NoSchedule
|
||||
persistence:
|
||||
existingClaim: jellyfin-config
|
||||
timezone: Europe/Vienna
|
||||
publishedServerUrl: https://jellyfin.brunner.ninja
|
||||
resources:
|
||||
requests:
|
||||
cpu: 500m
|
||||
memory: 2Gi
|
||||
ephemeral-storage: 1Gi
|
||||
ingress:
|
||||
enabled: true
|
||||
name: jellyfin-brunner-ninja
|
||||
host: jellyfin.brunner.ninja
|
||||
monitoring:
|
||||
enabled: true
|
||||
allowedSourceRange: 10.0.0.0/8
|
||||
@@ -0,0 +1,24 @@
|
||||
media:
|
||||
hostPath: /komposthaufen/multimedia
|
||||
mountPath: /komposthaufen/multimedia
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: arschrock
|
||||
media.brunner.ninja/multimedia-ready: "true"
|
||||
tolerations:
|
||||
- key: node-role.kubernetes.io/control-plane
|
||||
operator: Exists
|
||||
effect: NoSchedule
|
||||
persistence:
|
||||
existingClaim: plex-config
|
||||
timezone: Europe/Vienna
|
||||
resources:
|
||||
requests:
|
||||
cpu: 500m
|
||||
memory: 2Gi
|
||||
ephemeral-storage: 1Gi
|
||||
ingress:
|
||||
enabled: true
|
||||
name: plex-brunner-ninja
|
||||
host: plex.brunner.ninja
|
||||
monitoring:
|
||||
enabled: true
|
||||
@@ -0,0 +1,26 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: jellyfin
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: media
|
||||
sources:
|
||||
- repoURL: https://brunner.ninja/charts
|
||||
chart: jellyfin
|
||||
targetRevision: 12.2.0
|
||||
helm:
|
||||
releaseName: jellyfin
|
||||
valueFiles:
|
||||
- $values/apps/jellyfin/values.yaml
|
||||
- repoURL: https://code.brunner.ninja/feedc0de/homelab-gitops.git
|
||||
targetRevision: main
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: jellyfin
|
||||
syncPolicy:
|
||||
automated:
|
||||
enabled: false
|
||||
prune: false
|
||||
selfHeal: false
|
||||
@@ -80,6 +80,9 @@ resources:
|
||||
- wiki-js-postgresql.yaml
|
||||
- homeassistant-postgresql.yaml
|
||||
- home-assistant.yaml
|
||||
- media-project.yaml
|
||||
- plex.yaml
|
||||
- jellyfin.yaml
|
||||
- paperless-project.yaml
|
||||
- paperless-storage.yaml
|
||||
- pdf-editor.yaml
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: AppProject
|
||||
metadata:
|
||||
name: media
|
||||
namespace: argocd
|
||||
spec:
|
||||
description: Plex and Jellyfin media servers pinned to arschrock
|
||||
sourceRepos:
|
||||
- https://brunner.ninja/charts
|
||||
- https://code.brunner.ninja/feedc0de/homelab-gitops.git
|
||||
destinations:
|
||||
- namespace: plex
|
||||
server: https://kubernetes.default.svc
|
||||
- namespace: jellyfin
|
||||
server: https://kubernetes.default.svc
|
||||
namespaceResourceWhitelist:
|
||||
- group: ""
|
||||
kind: ConfigMap
|
||||
- group: ""
|
||||
kind: PersistentVolumeClaim
|
||||
- group: ""
|
||||
kind: Service
|
||||
- group: apps
|
||||
kind: Deployment
|
||||
- group: traefik.io
|
||||
kind: IngressRoute
|
||||
- group: traefik.io
|
||||
kind: Middleware
|
||||
- group: monitoring.coreos.com
|
||||
kind: ServiceMonitor
|
||||
- group: monitoring.coreos.com
|
||||
kind: PrometheusRule
|
||||
@@ -0,0 +1,26 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: plex
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: media
|
||||
sources:
|
||||
- repoURL: https://brunner.ninja/charts
|
||||
chart: plex
|
||||
targetRevision: 1.43.4-10903-e5521bd8c
|
||||
helm:
|
||||
releaseName: plex
|
||||
valueFiles:
|
||||
- $values/apps/plex/values.yaml
|
||||
- repoURL: https://code.brunner.ninja/feedc0de/homelab-gitops.git
|
||||
targetRevision: main
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: plex
|
||||
syncPolicy:
|
||||
automated:
|
||||
enabled: false
|
||||
prune: false
|
||||
selfHeal: false
|
||||
Reference in New Issue
Block a user