From 40aeee99421d1106ea2cdfcec1ba4e8ac4d7340a Mon Sep 17 00:00:00 2001 From: Martyn Ranyard Date: Thu, 16 Nov 2023 19:41:30 +0100 Subject: [PATCH] Jellyseerr Signed-off-by: Martyn Ranyard --- apps-kustomized/jellyseerr/deploy.yaml | 31 +++++++++++++++++++++++++ apps-kustomized/jellyseerr/pvc.yaml | 11 +++++++++ apps-kustomized/jellyseerr/service.yaml | 15 ++++++++++++ everything-app/jellyseerr.yaml | 17 ++++++++++++++ 4 files changed, 74 insertions(+) create mode 100644 apps-kustomized/jellyseerr/deploy.yaml create mode 100644 apps-kustomized/jellyseerr/pvc.yaml create mode 100644 apps-kustomized/jellyseerr/service.yaml create mode 100644 everything-app/jellyseerr.yaml diff --git a/apps-kustomized/jellyseerr/deploy.yaml b/apps-kustomized/jellyseerr/deploy.yaml new file mode 100644 index 0000000..427174e --- /dev/null +++ b/apps-kustomized/jellyseerr/deploy.yaml @@ -0,0 +1,31 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: jellyseerr + name: jellyseerr +spec: + replicas: 1 + selector: + matchLabels: + app: jellyseerr + template: + metadata: + creationTimestamp: null + labels: + app: jellyseerr + spec: + containers: + - image: fallenbagel/jellyseerr:1.7.0 + name: jellyseerr + ports: + - name: http + containerPort: 5055 + protocol: TCP + volumeMounts: + - name: config + mountPath: /app/config + volumes: + - name: config + persistentVolumeClaim: + claimName: jellyseerr-config-data diff --git a/apps-kustomized/jellyseerr/pvc.yaml b/apps-kustomized/jellyseerr/pvc.yaml new file mode 100644 index 0000000..af00634 --- /dev/null +++ b/apps-kustomized/jellyseerr/pvc.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: jellyseerr-config-data +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + storageClassName: local-path diff --git a/apps-kustomized/jellyseerr/service.yaml b/apps-kustomized/jellyseerr/service.yaml new file mode 100644 index 0000000..d908b72 --- /dev/null +++ b/apps-kustomized/jellyseerr/service.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: jellyseerr + annotations: + external-dns.alpha.kubernetes.io/hostname: jellyseerr.martyn.berlin + name: jellyseerr +spec: + ports: + - port: 80 + targetPort: 5055 + selector: + app: jellyseerr + type: LoadBalancer diff --git a/everything-app/jellyseerr.yaml b/everything-app/jellyseerr.yaml new file mode 100644 index 0000000..75c5c4d --- /dev/null +++ b/everything-app/jellyseerr.yaml @@ -0,0 +1,17 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: jellyseerr + namespace: argocd +spec: + destination: + namespace: jellyseerr + server: https://kubernetes.default.svc + project: apps + source: + path: apps-kustomized/jellyseerr + repoURL: https://git.martyn.berlin/martyn/infra4talos + targetRevision: HEAD + syncPolicy: + automated: + selfHeal: true