Commit new Chart releases for TrueCharts
Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
parent
3fa930e2eb
commit
7fb8611fac
|
@ -0,0 +1,8 @@
|
|||
**Important:**
|
||||
*for the complete changelog, please refer to the website*
|
||||
|
||||
|
||||
|
||||
|
||||
## [plexanisync-0.0.1]plexanisync-0.0.1 (2023-01-13)
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
apiVersion: v2
|
||||
appVersion: "1.3.21"
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://library-charts.truecharts.org
|
||||
version: 11.1.2
|
||||
deprecated: false
|
||||
description: Plex to AniList Sync.
|
||||
home: https://truecharts.org/charts/incubator/plexanisync
|
||||
icon: https://truecharts.org/img/hotlink-ok/chart-icons/plexanisync.png
|
||||
keywords:
|
||||
- plexanisync
|
||||
- media
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
maintainers:
|
||||
- email: info@truecharts.org
|
||||
name: TrueCharts
|
||||
url: https://truecharts.org
|
||||
name: plexanisync
|
||||
sources:
|
||||
- https://github.com/truecharts/charts/tree/master/charts/incubator/plexanisync
|
||||
- https://github.com/RickDB/PlexAniSync
|
||||
- https://github.com/RickDB/PlexAniSync/pkgs/container/plexanisync
|
||||
type: application
|
||||
version: 0.0.1
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- media
|
||||
truecharts.org/SCALE-support: "true"
|
||||
truecharts.org/grade: U
|
|
@ -0,0 +1 @@
|
|||
# README
|
|
@ -0,0 +1,4 @@
|
|||
|
||||
|
||||
## [plexanisync-0.0.1]plexanisync-0.0.1 (2023-01-13)
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
Plex to AniList Sync.
|
||||
|
||||
This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/charts/incubator/plexanisync](https://truecharts.org/charts/incubator/plexanisync)
|
||||
|
||||
---
|
||||
|
||||
TrueCharts can only exist due to the incredible effort of our staff.
|
||||
Please consider making a [donation](https://truecharts.org/about/sponsor) or contributing back to the project any way you can!
|
Binary file not shown.
|
@ -0,0 +1,83 @@
|
|||
image:
|
||||
repository: tccr.io/truecharts/plexanisync
|
||||
pullPolicy: IfNotPresent
|
||||
tag: latest@sha256:783613decc1a1041affe73ad90d04c3604b95824c156e0380c1a403bbe24ae3b
|
||||
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: false
|
||||
runAsNonRoot: false
|
||||
|
||||
podSecurityContext:
|
||||
runAsUser: 0
|
||||
runAsGroup: 0
|
||||
|
||||
plexanisync:
|
||||
interval: 3600
|
||||
plex:
|
||||
plex_section:
|
||||
[]
|
||||
# - section1
|
||||
# - section2
|
||||
# direct | myplex
|
||||
plex_auth_method: direct
|
||||
# myplex
|
||||
myplex_server: ""
|
||||
myplex_user: ""
|
||||
myplex_token: ""
|
||||
# direct
|
||||
plex_url: ""
|
||||
plex_token: ""
|
||||
# Home user sync
|
||||
home_user_sync: false
|
||||
home_username: ""
|
||||
home_server_url: ""
|
||||
anilist:
|
||||
ani_username: ""
|
||||
ani_token: ""
|
||||
plex_ep_count_priority: false
|
||||
skip_list_update: false
|
||||
log_failed_matches: false
|
||||
|
||||
custom_mappings:
|
||||
[]
|
||||
# remote_urls:
|
||||
# - https://blabal
|
||||
# entries:
|
||||
# - title: title
|
||||
# seasons:
|
||||
# - season: 1
|
||||
# anilist_id: 2345
|
||||
# synonyms:
|
||||
# - asfdasd
|
||||
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: '{{ include "tc.common.names.fullname" . }}-secret'
|
||||
|
||||
service:
|
||||
main:
|
||||
enabled: false
|
||||
ports:
|
||||
main:
|
||||
enabled: false
|
||||
|
||||
probes:
|
||||
liveness:
|
||||
enabled: false
|
||||
readiness:
|
||||
enabled: false
|
||||
startup:
|
||||
enabled: false
|
||||
|
||||
persistence:
|
||||
settings:
|
||||
enabled: true
|
||||
type: secret
|
||||
readOnly: true
|
||||
defaultMode: "0600"
|
||||
objectName: '{{ include "tc.common.names.fullname" . }}-config-secret'
|
||||
mountPath: /plexanisync/settings.ini
|
||||
subPath: settings.ini
|
||||
|
||||
portal:
|
||||
enabled: false
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,85 @@
|
|||
{{/* Define the secret */}}
|
||||
{{- define "plexanisync.secret" -}}
|
||||
|
||||
{{- $secretName := printf "%s-secret" (include "tc.common.names.fullname" .) }}
|
||||
{{- $secretConfigName := printf "%s-config-secret" (include "tc.common.names.fullname" .) }}
|
||||
{{- $pas := .Values.plexanisync }}
|
||||
{{- $cm := .Values.custom_mappings }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ $secretName }}
|
||||
labels:
|
||||
{{- include "tc.common.labels" . | nindent 4 }}
|
||||
stringData:
|
||||
SETTINGS_FILE: {{ .Values.persistence.settings.mountPath }}
|
||||
INTERVAL: {{ $pas.interval | quote }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ $secretConfigName }}
|
||||
labels:
|
||||
{{- include "tc.common.labels" . | nindent 4 }}
|
||||
stringData:
|
||||
settings.ini: |
|
||||
[PLEX]
|
||||
anime_section = {{ join "|" $pas.plex_section }}
|
||||
|
||||
authentication_method = {{ $pas.plex.plex_auth_method }}
|
||||
|
||||
{{- if eq $pas.plex.plex_auth_method "direct" }}
|
||||
base_url = {{ $pas.plex.plex_url }}
|
||||
token = {{ $pas.plex.plex_token }}
|
||||
{{- end }}
|
||||
|
||||
{{- if eq $pas.plex.plex_auth_method "myplex" }}
|
||||
server = {{ $pas.plex.myplex_server_name }}
|
||||
myplex_user = {{ $pas.plex.myplex_user }}
|
||||
myplex_token = {{ $pas.plex.myplex_token }}
|
||||
{{- end }}
|
||||
|
||||
home_user_sync = {{ ternary "True" "False" $pas.plex.home_user_sync }}
|
||||
{{- if $pas.plex.home_user_sync }}
|
||||
home_username = {{ $pas.plex.home_username }}
|
||||
home_server_base_url = {{ $pas.plex.home_server_url }}
|
||||
{{- end }}
|
||||
|
||||
[ANILIST]
|
||||
access_token = {{ $pas.anilist.ani_token }}
|
||||
plex_episode_count_priority = {{ ternary "True" "False" $pas.anilist.plex_ep_count_priority }}
|
||||
skip_list_update = {{ ternary "True" "False" $pas.anilist.skip_list_update }}
|
||||
username = {{ $pas.anilist.ani_username }}
|
||||
log_failed_matches = {{ ternary "True" "False" $pas.anilist.log_failed_matches }}
|
||||
custom_mappings.yaml: |
|
||||
# https://github.com/RickDB/PlexAniSync/blob/master/custom_mappings.yaml.example
|
||||
{{- if $cm }}
|
||||
{{- with $cm.remote_urls }}
|
||||
remote-urls:
|
||||
{{- range $url := . }}
|
||||
- {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{- with $cm.entries }}
|
||||
entries:
|
||||
{{- range $entry := . }}
|
||||
- title: {{ $entry.title | quote }}
|
||||
{{- with $entry.seasons }}
|
||||
seasons:
|
||||
{{- range $season_entry := . }}
|
||||
- season: {{ $season_entry.season }}
|
||||
anilist-id: {{ $season_entry.anilist_id }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- with $entry.synonyms }}
|
||||
synonyms:
|
||||
{{- range $synonym := . }}
|
||||
- {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end -}}
|
|
@ -0,0 +1,22 @@
|
|||
{{/* Make sure all variables are set properly */}}
|
||||
{{- include "tc.common.loader.init" . }}
|
||||
|
||||
{{/* Render secret */}}
|
||||
{{- include "plexanisync.secret" . }}
|
||||
|
||||
{{- define "plexanisync.custom.mappings" -}}
|
||||
enabled: true
|
||||
type: secret
|
||||
readOnly: true
|
||||
defaultMode: "0600"
|
||||
objectName: '{{ include "tc.common.names.fullname" . }}-config-secret'
|
||||
mountPath: /plexanisync/custom_mappings.yaml
|
||||
subPath: custom_mappings.yaml
|
||||
{{- end -}}
|
||||
|
||||
{{- if .Values.custom_mappings -}}
|
||||
{{- $_ := set .Values.persistence "custommappings" (include "plexanisync.custom.mappings" . | fromYaml) -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/* Render the templates */}}
|
||||
{{ include "tc.common.loader.apply" . }}
|
|
@ -0,0 +1,4 @@
|
|||
icon_url: https://truecharts.org/img/hotlink-ok/chart-icons/plexanisync.png
|
||||
categories:
|
||||
- media
|
||||
|
Loading…
Reference in New Issue