Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2023-02-24 15:19:19 +00:00
parent dc0764f42c
commit b513fee65f
12 changed files with 1920 additions and 0 deletions

View File

@ -0,0 +1,8 @@
**Important:**
*for the complete changelog, please refer to the website*
## [plexanisync-1.0.0](https://github.com/truecharts/charts/compare/plexanisync-0.0.5...plexanisync-1.0.0) (2023-02-24)

View File

@ -0,0 +1,31 @@
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/stable/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/stable/plexanisync
- https://ghcr.io/rickdb/plexanisync
- https://github.com/RickDB/PlexAniSync
- https://github.com/RickDB/PlexAniSync/pkgs/container/plexanisync
type: application
version: 1.0.0
annotations:
truecharts.org/catagories: |
- media
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,27 @@
# README
## General Info
TrueCharts can be installed as both *normal* Helm Charts or as Apps on TrueNAS SCALE.
However only installations using the TrueNAS SCALE Apps system are supported.
For more information about this App, please check the docs on the TrueCharts [website](https://truecharts.org/charts/incubator/)
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)**
## Support
- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/manual/SCALE%20Apps/Important-MUST-READ).
- See the [Website](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/charts/issues/new/choose)
---
## Sponsor TrueCharts
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can!
*All Rights Reserved - The TrueCharts Project*

View File

@ -0,0 +1,4 @@
## [plexanisync-1.0.0](https://github.com/truecharts/charts/compare/plexanisync-0.0.5...plexanisync-1.0.0) (2023-02-24)

View File

@ -0,0 +1,8 @@
Plex to AniList Sync.
This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/charts/stable/plexanisync](https://truecharts.org/charts/stable/plexanisync)
---
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can!

Binary file not shown.

View File

@ -0,0 +1,83 @@
image:
repository: tccr.io/truecharts/plexanisync
pullPolicy: IfNotPresent
tag: latest@sha256:13dcfeadb31ec46bc137c2a03e0ddab74fe8f49a1bfc86566543c676cdd5eba8
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

View File

@ -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.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 -}}

View File

@ -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" . }}

View File

View File

@ -0,0 +1,4 @@
icon_url: https://truecharts.org/img/hotlink-ok/chart-icons/plexanisync.png
categories:
- media