Skip to content

Commit

Permalink
feat(helm): install flaresolverr
Browse files Browse the repository at this point in the history
  • Loading branch information
willianpaixao committed Feb 2, 2025
1 parent f9b5893 commit f80b173
Show file tree
Hide file tree
Showing 4 changed files with 108 additions and 0 deletions.
81 changes: 81 additions & 0 deletions kubernetes/raspberry/media/flaresolverr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/refs/heads/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: &app flaresolverr
namespace: &namespace media
spec:
interval: 1h
timeout: 15m
chart:
spec:
chart: app-template
version: 3.6.1
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
strategy: rollback
retries: 3
values:
controllers:
flaresolverr:
annotations:
reloader.stakater.com/auto: "true"
containers:
app:
image:
repository: ghcr.io/flaresolverr/flaresolverr
tag: v3.3.21
env:
TZ: ${TIMEZONE}
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
resources:
limits:
memory: 512Mi
service:
app:
controller: *app
ports:
http:
port: 8191
ingress:
app:
enabled: true
className: internal
annotations:
gethomepage.dev/enabled: "true"
gethomepage.dev/group: Media
gethomepage.dev/icon: flaresolverr.png
gethomepage.dev/name: FlareSolverr
hosts:
- host: &host flaresolverr.${SECRET_DOMAIN}
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts:
- *host
persistence:
tmp:
type: emptyDir
advancedMounts:
flaresolverr:
app:
- path: /tmp
subPath: tmp
- path: /.local
subPath: local
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- helmrelease.yaml
21 changes: 21 additions & 0 deletions kubernetes/raspberry/media/flaresolverr/ks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: &app flaresolverr
namespace: flux-system
spec:
targetNamespace: media
commonMetadata:
labels:
app.kubernetes.io/name: *app
path: ./kubernetes/raspberry/media/flaresolverr/app
prune: true
sourceRef:
kind: GitRepository
name: flux-system
wait: false
interval: 1h
retryInterval: 5m
timeout: 15m
1 change: 1 addition & 0 deletions kubernetes/raspberry/media/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- bazarr/ks.yaml
- flaresolverr/ks.yaml
- namespace.yaml
- prowlarr/ks.yaml
- qbittorrent/ks.yaml
Expand Down

0 comments on commit f80b173

Please sign in to comment.