Skip to content

Commit

Permalink
add(jackett)
Browse files Browse the repository at this point in the history
  • Loading branch information
nold committed Mar 3, 2023
1 parent 30d106f commit 6a3d3fe
Show file tree
Hide file tree
Showing 5 changed files with 112 additions and 0 deletions.
30 changes: 30 additions & 0 deletions charts/jackett/.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/
13 changes: 13 additions & 0 deletions charts/jackett/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
apiVersion: v2
description: root-less jackett chart - The API Support for your favorite torrent trackers
name: jackett
version: 1.0.0
kubeVersion: ">=1.22.0-0"
maintainers:
- name: nold
email: [email protected]
dependencies:
- name: common
repository: https://bjw-s.github.io/helm-charts
version: 1.2.0
5 changes: 5 additions & 0 deletions charts/jackett/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Jackett

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

Based on: [bjw-s common chart](https://github.com/bjw-s/helm-charts/tree/main/charts/library/common)
9 changes: 9 additions & 0 deletions charts/jackett/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" . }}
55 changes: 55 additions & 0 deletions charts/jackett/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
image:
repository: lib42/jackett
tag: "latest"
pullPolicy: Always

env:
- name: TZ
value: UTC

ingress:
main:
enabled: false
#annotations:
# cert-manager.io/cluster-issuer: "vault-issuer"
# traefik.ingress.kubernetes.io/router.tls: 'true'
# nginx.ingress.kubernetes.io/proxy-body-size: 50m
#hosts:
# - host: jacket.local
# paths:
# - path: /
# pathType: Prefix
#tls:
# - secretName: jacket-tls
# hosts:
# - jacket.local

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

persistence:
config:
enabled: true
mountPath: /config
size: 100M

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

securityContext:
runAsNonRoot: true
privileged: false
# FIXME: Jackett crashes if rootfs is read only
readOnlyRootFilesystem: false
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL

0 comments on commit 6a3d3fe

Please sign in to comment.