From 1b0ead728d156e7e57a06c94066fd8cef422387e Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Sun, 9 Apr 2023 00:06:11 -0400 Subject: [PATCH] Add kavita --- cluster/apps/media/kavita/helm-release.yaml | 57 ++++++++++++++++++++ cluster/apps/media/kavita/kustomization.yaml | 4 ++ cluster/apps/media/kustomization.yaml | 3 +- 3 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 cluster/apps/media/kavita/helm-release.yaml create mode 100644 cluster/apps/media/kavita/kustomization.yaml diff --git a/cluster/apps/media/kavita/helm-release.yaml b/cluster/apps/media/kavita/helm-release.yaml new file mode 100644 index 0000000..2af763a --- /dev/null +++ b/cluster/apps/media/kavita/helm-release.yaml @@ -0,0 +1,57 @@ +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: kavita + namespace: media +spec: + interval: 5m + chart: + spec: + chart: app-template + version: 1.3.x + sourceRef: + kind: HelmRepository + name: bjws-charts + namespace: flux-system + + values: + image: + repository: kizaing/kavita + tag: latest + service: + main: + ports: + http: + port: 5000 + probes: + liveness: + enabled: false + ingress: + main: + enabled: true + annotations: + cert-manager.io/cluster-issuer: "letsencrypt-production" + traefik.ingress.kubernetes.io/router.entrypoints: websecure + hosts: + - host: "k3skav.***REMOVED***" + paths: + - path: / + pathType: Prefix + persistence: + config: + enabled: true + type: hostPath + hostPath: /mnt/MainPool/Kubernetes/kavita + mountPath: /kavita/config + storage: + enabled: true + type: hostPath + hostPath: /mnt/MainPool/Media/Media + mountPath: /storage + + resources: + requests: + cpu: 1m + memory: 275Mi + limits: + memory: 500Mi \ No newline at end of file diff --git a/cluster/apps/media/kavita/kustomization.yaml b/cluster/apps/media/kavita/kustomization.yaml new file mode 100644 index 0000000..ea3145d --- /dev/null +++ b/cluster/apps/media/kavita/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- ./helm-release.yaml \ No newline at end of file diff --git a/cluster/apps/media/kustomization.yaml b/cluster/apps/media/kustomization.yaml index 4a6fb12..ff7cf72 100644 --- a/cluster/apps/media/kustomization.yaml +++ b/cluster/apps/media/kustomization.yaml @@ -3,4 +3,5 @@ kind: Kustomization resources: - ./namespace.yaml - ./network_policy.yaml -- ./komga \ No newline at end of file +- ./komga +- ./kavita \ No newline at end of file