fix(traktarr) code fixes (#5499)
* fix(traktarr) code fixes * fix RUNNOW variable * Apply suggestions from code review Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> * fix quote * UI * Update charts/incubator/traktarr/values.yaml Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> * Update charts/incubator/traktarr/values.yaml Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
@@ -1,7 +1,3 @@
|
|||||||
annotations:
|
|
||||||
truecharts.org/SCALE-support: "true"
|
|
||||||
truecharts.org/catagories: |
|
|
||||||
- Tools-Utilities
|
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: "latest"
|
appVersion: "latest"
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -9,7 +5,7 @@ dependencies:
|
|||||||
repository: https://library-charts.truecharts.org
|
repository: https://library-charts.truecharts.org
|
||||||
version: 11.0.7
|
version: 11.0.7
|
||||||
deprecated: false
|
deprecated: false
|
||||||
description: "Script to add new series and movies to Sonarr/Radarr based on Trakt lists."
|
description: Script to add new series and movies to Sonarr/Radarr based on Trakt lists.
|
||||||
home: https://truecharts.org/docs/charts/incubator/traktarr
|
home: https://truecharts.org/docs/charts/incubator/traktarr
|
||||||
icon: https://truecharts.org/img/hotlink-ok/chart-icons/traktarr.png
|
icon: https://truecharts.org/img/hotlink-ok/chart-icons/traktarr.png
|
||||||
keywords:
|
keywords:
|
||||||
@@ -26,4 +22,9 @@ sources:
|
|||||||
- https://github.com/l3uddz/traktarr
|
- https://github.com/l3uddz/traktarr
|
||||||
- https://hub.docker.com/r/eafxx/traktarr
|
- https://hub.docker.com/r/eafxx/traktarr
|
||||||
type: application
|
type: application
|
||||||
version: 2.0.3
|
version: 2.0.4
|
||||||
|
annotations:
|
||||||
|
truecharts.org/catagories: |
|
||||||
|
- Tools-Utilities
|
||||||
|
truecharts.org/SCALE-support: "true"
|
||||||
|
truecharts.org/grade: U
|
||||||
|
|||||||
@@ -6,69 +6,82 @@ questions:
|
|||||||
# Include{replicas}
|
# Include{replicas}
|
||||||
# Include{replica1}
|
# Include{replica1}
|
||||||
# Include{controllerExpertExtraArgs}
|
# Include{controllerExpertExtraArgs}
|
||||||
- variable: env
|
- variable: trakrarr
|
||||||
group: "App Configuration"
|
group: App Configuration
|
||||||
label: "Image Environment"
|
label: Traktarr Configuration
|
||||||
schema:
|
schema:
|
||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
attrs:
|
attrs:
|
||||||
- variable: DELAY
|
- variable: delay
|
||||||
label: "DELAY"
|
label: Delay
|
||||||
description: "Container Variable DELAY (FLOAT) in secs - default 2.5"
|
description: (FLOAT) Seconds between each add request to ARR services.
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: ""
|
default: "2.5"
|
||||||
- variable: SORT
|
valid_charts: ^\d+\.\d+$
|
||||||
label: "SORT"
|
- variable: sort
|
||||||
description: "Container Variable SORT"
|
label: Sort
|
||||||
|
description: Votes or rating or release, sort list to process
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: ""
|
default: "rating"
|
||||||
- variable: NOSEARCH
|
enum:
|
||||||
label: "NOSEARCH"
|
- value: "rating"
|
||||||
description: "Container Variable NOSEARCH, Disable search when adding to SonarrRadarr"
|
description: "Rating"
|
||||||
|
- value: "votes"
|
||||||
|
description: "Votes"
|
||||||
|
- value: "release"
|
||||||
|
description: "Release"
|
||||||
|
- variable: nosearch
|
||||||
|
label: No Search
|
||||||
|
description: Disable search when adding to ARR services.
|
||||||
|
schema:
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
- variable: notifications
|
||||||
|
label: Notifications
|
||||||
|
description: Disable notifications
|
||||||
|
schema:
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
- variable: blackist
|
||||||
|
label: Black List
|
||||||
|
description: Enables/disables the blacklist when running app.
|
||||||
|
schema:
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
- variable: runnow
|
||||||
|
label: Run Now
|
||||||
|
description: Do a first run immediately without waiting.
|
||||||
|
schema:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
- variable: skipupdate
|
||||||
|
label: Skip Update
|
||||||
|
description: Skip auto-update
|
||||||
|
schema:
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
- variable: app_branch
|
||||||
|
label: App Branch
|
||||||
|
description: GitHub branch.
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: ""
|
default: 'master'
|
||||||
- variable: NOTIFICATIONS
|
enum:
|
||||||
label: "NOTIFICATIONS"
|
- value: "master"
|
||||||
description: "Container Path NOTIFICATIONS"
|
description: "Master"
|
||||||
schema:
|
- value: "develop"
|
||||||
type: string
|
description: "Develop"
|
||||||
default: ""
|
|
||||||
- variable: BLACKLIST
|
|
||||||
label: "BLACKLIST"
|
|
||||||
description: "Container Variable BLACKLIST"
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
default: ""
|
|
||||||
- variable: RUNNOW
|
|
||||||
label: "RUNNOW"
|
|
||||||
description: "Container Variable RUNNOW"
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
default: ""
|
|
||||||
- variable: SKIPUPDATE
|
|
||||||
label: "SKIPUPDATE"
|
|
||||||
description: "Container Variable SKIPUPDATE"
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
default: ""
|
|
||||||
- variable: APP_BRANCH
|
|
||||||
label: "APP_BRANCH"
|
|
||||||
description: "Container Variable APPBRANCH"
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
default: ""
|
|
||||||
# Include{serviceExpertRoot}
|
# Include{serviceExpertRoot}
|
||||||
default: false
|
default: false
|
||||||
# Include{serviceExpert}
|
# Include{serviceExpert}
|
||||||
# Include{serviceList}
|
# Include{serviceList}
|
||||||
# Include{persistenceRoot}
|
# Include{persistenceRoot}
|
||||||
- variable: config
|
- variable: config
|
||||||
label: "config Storage"
|
label: App Config Storage
|
||||||
description: "Container Path config"
|
description: Stores the Application Config.
|
||||||
schema:
|
schema:
|
||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
@@ -78,41 +91,41 @@ questions:
|
|||||||
# Include{security}
|
# Include{security}
|
||||||
# Include{securityContextAdvancedRoot}
|
# Include{securityContextAdvancedRoot}
|
||||||
- variable: privileged
|
- variable: privileged
|
||||||
label: "Privileged mode"
|
label: Privileged mode
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
- variable: readOnlyRootFilesystem
|
- variable: readOnlyRootFilesystem
|
||||||
label: "ReadOnly Root Filesystem"
|
label: ReadOnly Root Filesystem
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
- variable: allowPrivilegeEscalation
|
- variable: allowPrivilegeEscalation
|
||||||
label: "Allow Privilege Escalation"
|
label: Allow Privilege Escalation
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
- variable: runAsNonRoot
|
- variable: runAsNonRoot
|
||||||
label: "runAsNonRoot"
|
label: runAsNonRoot
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
# Include{podSecurityContextRoot}
|
# Include{podSecurityContextRoot}
|
||||||
- variable: runAsUser
|
- variable: runAsUser
|
||||||
label: "runAsUser"
|
label: runAsUser
|
||||||
description: "The UserID of the user running the application"
|
description: The UserID of the user running the application
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 0
|
default: 0
|
||||||
- variable: runAsGroup
|
- variable: runAsGroup
|
||||||
label: "runAsGroup"
|
label: runAsGroup
|
||||||
description: The groupID this App of the user running the application"
|
description: The groupID this App of the user running the application
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 0
|
default: 0
|
||||||
- variable: fsGroup
|
- variable: fsGroup
|
||||||
label: "fsGroup"
|
label: fsGroup
|
||||||
description: "The group that should own ALL storage."
|
description: The group that should own ALL storage.
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 568
|
default: 568
|
||||||
|
|||||||
@@ -1,23 +1,36 @@
|
|||||||
env:
|
|
||||||
APP_BRANCH: ""
|
|
||||||
BLACKLIST: ""
|
|
||||||
DELAY: ""
|
|
||||||
NOSEARCH: ""
|
|
||||||
NOTIFICATIONS: ""
|
|
||||||
RUNNOW: ""
|
|
||||||
SKIPUPDATE: ""
|
|
||||||
SORT: ""
|
|
||||||
image:
|
image:
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
repository: tccr.io/truecharts/traktarr
|
repository: tccr.io/truecharts/traktarr
|
||||||
tag: latest@sha256:c3f2e4c967f7574d13b234c8cfa5d5bc25c007d891ecf8bf78e04f0654033785
|
tag: latest@sha256:c3f2e4c967f7574d13b234c8cfa5d5bc25c007d891ecf8bf78e04f0654033785
|
||||||
persistence:
|
|
||||||
config:
|
traktarr:
|
||||||
enabled: true
|
app_branch: master
|
||||||
mountPath: /config
|
blacklist: true
|
||||||
|
nosearch: true
|
||||||
|
notifications: true
|
||||||
|
runnow: false
|
||||||
|
skipupdate: true
|
||||||
|
delay: "2.5"
|
||||||
|
sort: rating
|
||||||
|
|
||||||
|
env:
|
||||||
|
APP_BRANCH: "{{ .Values.traktarr.app_branch }}"
|
||||||
|
BLACKLIST: '{{ ternary "yes" "no" .Values.traktarr.blacklist }}'
|
||||||
|
NOSEARCH: '{{ ternary "yes" "no" .Values.traktarr.nosearch }}'
|
||||||
|
NOTIFICATIONS: '{{ ternary "yes" "no" .Values.traktarr.notifications }}'
|
||||||
|
RUNNOW: '{{ ternary "yes" "no" .Values.traktarr.runnow }}'
|
||||||
|
SKIPUPDATE: '{{ ternary "yes" "no" .Values.traktarr.skipupdate }}'
|
||||||
|
DELAY: "{{ .Values.traktarr.delay }}"
|
||||||
|
SORT: "{{ .Values.traktarr.sort }}"
|
||||||
|
|
||||||
|
securityContext:
|
||||||
|
readOnlyRootFilesystem: false
|
||||||
|
runAsNonRoot: false
|
||||||
|
|
||||||
podSecurityContext:
|
podSecurityContext:
|
||||||
runAsGroup: 0
|
runAsGroup: 0
|
||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
|
|
||||||
probes:
|
probes:
|
||||||
liveness:
|
liveness:
|
||||||
enabled: false
|
enabled: false
|
||||||
@@ -25,9 +38,7 @@ probes:
|
|||||||
enabled: false
|
enabled: false
|
||||||
startup:
|
startup:
|
||||||
enabled: false
|
enabled: false
|
||||||
securityContext:
|
|
||||||
readOnlyRootFilesystem: false
|
|
||||||
runAsNonRoot: false
|
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
enabled: false
|
enabled: false
|
||||||
@@ -35,5 +46,10 @@ service:
|
|||||||
main:
|
main:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
config:
|
||||||
|
enabled: true
|
||||||
|
mountPath: /config
|
||||||
|
|
||||||
portal:
|
portal:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|||||||
Reference in New Issue
Block a user