Skip to content

Commit

Permalink
add(flaresolverr)
Browse files Browse the repository at this point in the history
  • Loading branch information
nold authored and Nold360 committed Mar 23, 2023
1 parent a8f77fa commit c92e6f1
Show file tree
Hide file tree
Showing 5 changed files with 118 additions and 0 deletions.
30 changes: 30 additions & 0 deletions charts/flaresolverr/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
# OWNERS file for Kubernetes
OWNERS

# helm-docs templates
*.gotmpl

# helm unit tests
tests/
21 changes: 21 additions & 0 deletions charts/flaresolverr/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
apiVersion: v2
description: FlareSolverr is a proxy server to bypass Cloudflare protection
name: flaresolverr
version: 1.0.0
kubeVersion: ">=1.22.0-0"
keywords:
- torrent
- flaresolverr
- arrstack
icon: https://avatars.githubusercontent.com/u/75936191
home: https://github.com/lib42/charts
source:
- https://github.com/FlareSolverr/FlareSolverr
maintainers:
- name: nold
email: [email protected]
dependencies:
- name: common
repository: https://bjw-s.github.io/helm-charts
version: 1.3.2
6 changes: 6 additions & 0 deletions charts/flaresolverr/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# FlareSolverr

Helm Chart for rootless FlareSolverr. See `values.yaml` for exampe values.

Based on: [bjw-s common chart](https://github.com/bjw-s/helm-charts/tree/main/charts/library/common)
Source code & Readme: [Github.com/FlareSolverr](https://github.com/FlareSolverr/FlareSolverr)
9 changes: 9 additions & 0 deletions charts/flaresolverr/templates/common.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
{{- include "bjw-s.common.loader.init" . }}

{{- define "app.hardcodedValues" -}}
{{- end -}}
{{- $_ := mergeOverwrite .Values (include "app.hardcodedValues" . | fromYaml) -}}

{{/* Render the templates */}}
{{ include "bjw-s.common.loader.generate" . }}
52 changes: 52 additions & 0 deletions charts/flaresolverr/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
image:
repository: ghcr.io/flaresolverr/flaresolverr
tag: "v3.1.0"

env:
- name: TZ
value: UTC
## See: https://github.com/FlareSolverr/FlareSolverr#environment-variables
# - name: LOG_LEVEL
# value: info
#- name: LOG_HTML
# value: "false"
#- name: CAPTCHA_SOLVER
# value: none
#- name: BROWSER_TIMEOUT
# value: "40000"
#- name: TEST_URL
# value: https://www.google.com

ingress:
main:
enabled: false

service:
main:
enabled: true
ports:
http:
port: 8191

#resources:
#requests:
# memory: 105Mi
#limits:
# memory: 300Mi

podSecurityContext:
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
fsGroupChangePolicy: "OnRootMismatch"

securityContext:
runAsNonRoot: true
privileged: false
# FIXME: flaresolverr crashes if /app is not writeable
readOnlyRootFilesystem: false
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL

0 comments on commit c92e6f1

Please sign in to comment.