Skip to content

Commit

Permalink
feat: replace overseerr with jellyseerr
Browse files Browse the repository at this point in the history
  • Loading branch information
M0NsTeRRR committed Apr 2, 2024
1 parent 2199e20 commit 03cf20c
Show file tree
Hide file tree
Showing 15 changed files with 63 additions and 63 deletions.
File renamed without changes.
12 changes: 6 additions & 6 deletions charts/overseerr/Chart.yaml → charts/jellyseerr/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
apiVersion: v2
name: overseerr
description: overseerr helm chart for Kubernetes
name: jellyseerr
description: jellyseerr helm chart for Kubernetes
type: application
version: 0.1.1
# image: ghcr.io/sct/overseerr
appVersion: "1.33.2"
version: 0.1.0
# image: fallenbagel/jellyseerr
appVersion: "1.7.0"
sources:
- https://github.com/M0NsTeRRR/helm-charts/tree/main/charts/radarr
home: https://github.com/sct/overseerr
home: https://github.com/sct/jellyseerr
icon: https://artifacthub.io/image/e417b561-5fe4-4ee3-9b89-f67df4069169
16 changes: 8 additions & 8 deletions charts/overseerr/README.md → charts/jellyseerr/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# overseerr
# jellyseerr

![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.33.2](https://img.shields.io/badge/AppVersion-1.33.2-informational?style=flat-square)
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.7.0](https://img.shields.io/badge/AppVersion-1.7.0-informational?style=flat-square)

overseerr helm chart for Kubernetes
jellyseerr helm chart for Kubernetes

**Homepage:** <https://github.com/sct/overseerr>
**Homepage:** <https://github.com/sct/jellyseerr>

## Source Code

Expand All @@ -31,12 +31,12 @@ helm repo add adminafk https://helm-charts.adminafk.fr
| config.persistence.annotations | object | `{}` | Annotations for PVCs |
| config.persistence.name | string | `""` | Config name |
| config.persistence.size | string | `"5Gi"` | Size of persistent disk |
| extraEnv | list | `[]` | Environment variables to add to the overseerr pods |
| extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to the overseerr pods |
| extraEnv | list | `[]` | Environment variables to add to the jellyseerr pods |
| extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to the jellyseerr pods |
| fullnameOverride | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.registry | string | `"ghcr.io"` | |
| image.repository | string | `"sct/overseerr"` | |
| image.registry | string | `"docker.io"` | |
| image.repository | string | `"fallenbagel/jellyseerr"` | |
| image.sha | string | `""` | |
| image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. |
| imagePullSecrets | list | `[]` | |
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "overseerr.name" -}}
{{- define "jellyseerr.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}

Expand All @@ -10,7 +10,7 @@ Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "overseerr.fullname" -}}
{{- define "jellyseerr.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
Expand All @@ -26,16 +26,16 @@ If release name contains chart name it will be used as a full name.
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "overseerr.chart" -}}
{{- define "jellyseerr.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}

{{/*
Common labels
*/}}
{{- define "overseerr.labels" -}}
helm.sh/chart: {{ include "overseerr.chart" . }}
{{ include "overseerr.selectorLabels" . }}
{{- define "jellyseerr.labels" -}}
helm.sh/chart: {{ include "jellyseerr.chart" . }}
{{ include "jellyseerr.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
Expand All @@ -45,17 +45,17 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
{{/*
Selector labels
*/}}
{{- define "overseerr.selectorLabels" -}}
app.kubernetes.io/name: {{ include "overseerr.name" . }}
{{- define "jellyseerr.selectorLabels" -}}
app.kubernetes.io/name: {{ include "jellyseerr.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}

{{/*
Create the name of the service account to use
*/}}
{{- define "overseerr.serviceAccountName" -}}
{{- define "jellyseerr.serviceAccountName" -}}
{{- if .Values.serviceAccount.create }}
{{- default (include "overseerr.fullname" .) .Values.serviceAccount.name }}
{{- default (include "jellyseerr.fullname" .) .Values.serviceAccount.name }}
{{- else }}
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
Expand All @@ -64,6 +64,6 @@ Create the name of the service account to use
{{/*
Create the name of the pvc config to use
*/}}
{{- define "overseerr.configPersistenceName" -}}
{{- default (printf "%s-config" (include "overseerr.fullname" .)) .Values.config.persistence.name }}
{{- define "jellyseerr.configPersistenceName" -}}
{{- default (printf "%s-config" (include "jellyseerr.fullname" .)) .Values.config.persistence.name }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "overseerr.fullname" . }}
name: {{ include "jellyseerr.fullname" . }}
labels:
{{- include "overseerr.labels" . | nindent 4 }}
{{- include "jellyseerr.labels" . | nindent 4 }}
spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
{{- end }}
selector:
matchLabels:
{{- include "overseerr.selectorLabels" . | nindent 6 }}
{{- include "jellyseerr.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "overseerr.labels" . | nindent 8 }}
{{- include "jellyseerr.labels" . | nindent 8 }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
Expand All @@ -27,7 +27,7 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "overseerr.serviceAccountName" . }}
serviceAccountName: {{ include "jellyseerr.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
Expand Down Expand Up @@ -68,7 +68,7 @@ spec:
volumes:
- name: config
persistentVolumeClaim:
claimName: {{ include "overseerr.configPersistenceName" . }}
claimName: {{ include "jellyseerr.configPersistenceName" . }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "overseerr.fullname" . }}
name: {{ include "jellyseerr.fullname" . }}
labels:
{{- include "overseerr.labels" . | nindent 4 }}
{{- include "jellyseerr.labels" . | nindent 4 }}
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: {{ include "overseerr.fullname" . }}
name: {{ include "jellyseerr.fullname" . }}
minReplicas: {{ .Values.autoscaling.minReplicas }}
maxReplicas: {{ .Values.autoscaling.maxReplicas }}
metrics:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if .Values.ingress.enabled -}}
{{- $fullName := include "overseerr.fullname" . -}}
{{- $fullName := include "jellyseerr.fullname" . -}}
{{- $svcPort := .Values.service.port -}}
{{- if and .Values.ingress.ingressClassName (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }}
{{- if not (hasKey .Values.ingress.annotations "kubernetes.io/ingress.class") }}
Expand All @@ -17,7 +17,7 @@ kind: Ingress
metadata:
name: {{ $fullName }}
labels:
{{- include "overseerr.labels" . | nindent 4 }}
{{- include "jellyseerr.labels" . | nindent 4 }}
{{- with .Values.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ include "overseerr.configPersistenceName" . }}
name: {{ include "jellyseerr.configPersistenceName" . }}
labels:
{{- include "overseerr.labels" . | nindent 4 }}
{{- include "jellyseerr.labels" . | nindent 4 }}
spec:
accessModes:
- ReadWriteOnce
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "overseerr.fullname" . }}
name: {{ include "jellyseerr.fullname" . }}
labels:
{{- include "overseerr.labels" . | nindent 4 }}
{{- include "jellyseerr.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
Expand All @@ -12,4 +12,4 @@ spec:
protocol: TCP
name: http
selector:
{{- include "overseerr.selectorLabels" . | nindent 4 }}
{{- include "jellyseerr.selectorLabels" . | nindent 4 }}
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "overseerr.serviceAccountName" . }}
name: {{ include "jellyseerr.serviceAccountName" . }}
labels:
{{- include "overseerr.labels" . | nindent 4 }}
{{- include "jellyseerr.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
Expand Down
15 changes: 15 additions & 0 deletions charts/jellyseerr/templates/tests/test-connection.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "jellyseerr.fullname" . }}-test-connection"
labels:
{{- include "jellyseerr.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "jellyseerr.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
replicaCount: 1

image:
registry: ghcr.io
repository: sct/overseerr
registry: docker.io
repository: fallenbagel/jellyseerr
pullPolicy: IfNotPresent
# -- Overrides the image tag whose default is the chart appVersion.
tag: ""
Expand All @@ -12,9 +12,9 @@ imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""

# -- Environment variables to add to the overseerr pods
# -- Environment variables to add to the jellyseerr pods
extraEnv: []
# -- Environment variables from secrets or configmaps to add to the overseerr pods
# -- Environment variables from secrets or configmaps to add to the jellyseerr pods
extraEnvFrom: []

serviceAccount:
Expand Down
15 changes: 0 additions & 15 deletions charts/overseerr/templates/tests/test-connection.yaml

This file was deleted.

0 comments on commit 03cf20c

Please sign in to comment.