From f6d254b5e41686735aa8c8bb12551b7dc82aa4bf Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Fri, 2 Jun 2023 18:45:53 -0400 Subject: [PATCH] add flaresolverr --- .../download/flaresolverr/helm-release.yaml | 53 +++++++++++++++++++ .../download/flaresolverr/kustomization.yaml | 4 ++ cluster/apps/download/kustomization.yaml | 3 +- 3 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 cluster/apps/download/flaresolverr/helm-release.yaml create mode 100644 cluster/apps/download/flaresolverr/kustomization.yaml diff --git a/cluster/apps/download/flaresolverr/helm-release.yaml b/cluster/apps/download/flaresolverr/helm-release.yaml new file mode 100644 index 0000000..ea2b3f8 --- /dev/null +++ b/cluster/apps/download/flaresolverr/helm-release.yaml @@ -0,0 +1,53 @@ +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: flaresolverr + namespace: download +spec: + interval: 5m + chart: + spec: + chart: app-template + version: 1.3.x + sourceRef: + kind: HelmRepository + name: bjws-charts + namespace: flux-system + + values: + image: + repository: ghcr.io/flaresolverr/flaresolverr + tag: latest + + env: + LOG_LEVEL: info + + service: + main: + ports: + http: + port: 8191 + + probes: + liveness: + enabled: false + startup: + enabled: false + + ingress: + main: + enabled: false + + podSecurityContext: + runAsNonRoot: true + runAsUser: 10000 + runAsGroup: 10000 + fsGroup: 10000 + fsGroupChangePolicy: OnRootMismatch + + resources: + requests: + cpu: 5m + memory: 400Mi + limits: + memory: 2Gi \ No newline at end of file diff --git a/cluster/apps/download/flaresolverr/kustomization.yaml b/cluster/apps/download/flaresolverr/kustomization.yaml new file mode 100644 index 0000000..ea3145d --- /dev/null +++ b/cluster/apps/download/flaresolverr/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/download/kustomization.yaml b/cluster/apps/download/kustomization.yaml index e4b934a..624e2f1 100644 --- a/cluster/apps/download/kustomization.yaml +++ b/cluster/apps/download/kustomization.yaml @@ -11,4 +11,5 @@ resources: - ./readarr - ./mylar3 - ./unpackerr -- ./media-dashboard.yaml \ No newline at end of file +- ./media-dashboard.yaml +- ./flaresolverr \ No newline at end of file