From 598aad2492da66a7128018f158780fb96b6ca318 Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Thu, 28 Jul 2022 18:12:11 +0300 Subject: [PATCH] fix(cleanarr): cleanup Cleanarr (#3330) * feat(kitchenowl): add kitchenownl * add backend image * add icon * update images * fixup cleanarr * root * fix var * remove kitchenowl until there is a way to change ports for back and front --- charts/incubator/cleanarr/Chart.yaml | 15 +++++------ charts/incubator/cleanarr/questions.yaml | 30 ++++++++++----------- charts/incubator/cleanarr/values.yaml | 33 ++++++++++++++---------- charts/incubator/ts3-manager/Chart.yaml | 2 +- charts/incubator/ts3-manager/values.yaml | 4 +-- 5 files changed, 43 insertions(+), 41 deletions(-) diff --git a/charts/incubator/cleanarr/Chart.yaml b/charts/incubator/cleanarr/Chart.yaml index 6fb63d041e6..df2c3f45285 100644 --- a/charts/incubator/cleanarr/Chart.yaml +++ b/charts/incubator/cleanarr/Chart.yaml @@ -1,22 +1,16 @@ -annotations: - truecharts.org/SCALE-support: "true" - truecharts.org/catagories: | - - MediaApp-Other apiVersion: v2 appVersion: "latest" +version: 0.0.15 dependencies: - name: common repository: https://library-charts.truecharts.org version: 10.4.8 deprecated: false -description: - A simple UI to help find and delete duplicate and sample files from your - Plex server. +description: A simple UI to help find and delete duplicate and sample files from your Plex server. home: https://github.com/truecharts/charts/tree/master/charts/incubator/cleanarr icon: https://truecharts.org/img/chart-icons/cleanarr.png keywords: - cleanarr - - MediaApp-Other kubeVersion: ">=1.16.0-0" maintainers: - email: info@truecharts.org @@ -27,4 +21,7 @@ sources: - https://github.com/se1exin/cleanarr - https://hub.docker.com/r/selexin/cleanarr/ type: application -version: 0.0.14 +annotations: + truecharts.org/SCALE-support: "true" + truecharts.org/catagories: | + - Media diff --git a/charts/incubator/cleanarr/questions.yaml b/charts/incubator/cleanarr/questions.yaml index 836992962c6..dcdbb28ade1 100644 --- a/charts/incubator/cleanarr/questions.yaml +++ b/charts/incubator/cleanarr/questions.yaml @@ -83,31 +83,37 @@ questions: additional_attrs: true type: dict attrs: - - variable: PLEX_BASE_URL label: 'PLEX_BASE_URL' - description: "(required) Plex Server Address (e.g. http192.169.1.10032400)" + description: "Plex Server Address (e.g. http://192.169.1.100:32400)" schema: type: string default: "" - variable: PLEX_TOKEN label: 'PLEX_TOKEN' - description: "(required) A valid Plex token for your Plex Server " + description: "A valid Plex token for your Plex Server " schema: type: string + private: true default: "" - variable: LIBRARY_NAMES label: 'LIBRARY_NAMES' - description: "(optional) Name(s) of your Plex Libraries to search. Separate multiple library names with " + description: "Name(s) of your Plex Libraries to search. Separate multiple library names with semi-colon *;*" schema: type: string default: "" - - variable: BYPASS_SSL_VERIFY + - variable: PAGE_SIZE + label: 'PAGE_SIZE' + description: "To avoid plex timeouts, results are loaded in pages (or chunks)" + schema: + type: int + default: 50 + - variable: BYPASS_SSL_VERIFY_BOOL label: 'BYPASS_SSL_VERIFY' - description: "(optional) Disable SSL certificate verification. Use this if your Plex Server has " + description: "Disable SSL certificate verification." schema: - type: string - default: "" + type: boolean + default: false # Include{containerConfig} @@ -137,7 +143,7 @@ questions: description: "This port exposes the container port on the service" schema: type: int - default: 5000 + default: 10247 required: true - variable: advanced label: "Show Advanced settings" @@ -174,8 +180,6 @@ questions: type: int default: 80 - - - variable: serviceexpert group: "Networking and Services" label: "Show Expert Config" @@ -203,7 +207,6 @@ questions: additional_attrs: true type: dict attrs: - - variable: config label: "config Storage" description: "Container Path frontend" @@ -214,10 +217,8 @@ questions: # Include{persistenceBasic} # Include{persistenceAdvanced} - # Include{persistenceList} - - variable: ingress label: "" group: "Ingress" @@ -306,7 +307,6 @@ questions: default: 568 # Include{podSecurityContextAdvanced} - # Include{resources} # Include{advanced} diff --git a/charts/incubator/cleanarr/values.yaml b/charts/incubator/cleanarr/values.yaml index 748e9309042..117f28632bc 100644 --- a/charts/incubator/cleanarr/values.yaml +++ b/charts/incubator/cleanarr/values.yaml @@ -1,28 +1,33 @@ -env: - BYPASS_SSL_VERIFY: "" - LIBRARY_NAMES: "" - PLEX_BASE_URL: "" - PLEX_TOKEN: "" image: pullPolicy: IfNotPresent repository: tccr.io/truecharts/cleanarr - tag: latest@sha256:4c1d5e10372fc89e675ec7e2dcc588b05f9450f36f7dec1ce26026b087abc449 -persistence: - config: - enabled: true - mountPath: /frontend + tag: v2.1.3@sha256:bdc34c5c58197977ca557aeee075b050b5da8c09c594443cd14c4cdec123775e + podSecurityContext: runAsGroup: 0 runAsUser: 0 securityContext: readOnlyRootFilesystem: false runAsNonRoot: false + +env: + BYPASS_SSL_VERIFY: '{{ ternary "1" "0" .Values.env.BYPASS_SSL_VERIFY_BOOL }}' + # User defined + BYPASS_SSL_VERIFY_BOOL: true + LIBRARY_NAMES: "" + PLEX_BASE_URL: "" + PLEX_TOKEN: "" + PAGE_SIZE: 50 + service: main: - enabled: true ports: main: - enabled: true - port: 5000 - protocol: TCP + protocol: HTTP + port: 10247 targetPort: 80 + +persistence: + config: + enabled: true + mountPath: /config diff --git a/charts/incubator/ts3-manager/Chart.yaml b/charts/incubator/ts3-manager/Chart.yaml index b8f3164958c..61648f9274a 100644 --- a/charts/incubator/ts3-manager/Chart.yaml +++ b/charts/incubator/ts3-manager/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 kubeVersion: ">=1.16.0-0" name: ts3-manager -version: 0.0.1 +version: 0.0.2 appVersion: "2.2.0" description: A modern web interface for maintaining Teamspeak3 servers. type: application diff --git a/charts/incubator/ts3-manager/values.yaml b/charts/incubator/ts3-manager/values.yaml index c51553c24ca..52225bfe1e2 100644 --- a/charts/incubator/ts3-manager/values.yaml +++ b/charts/incubator/ts3-manager/values.yaml @@ -1,7 +1,7 @@ image: - repository: joni1802/ts3-manager + repository: tccr.io/truecharts/ts3-manager pullPolicy: IfNotPresent - tag: v2.2.0@sha256:9db01d161d2b37e8e872ed701cbedb3986eff46721d12f4d59279abfec5b0354 + tag: v2.2.0@sha256:64998a18482fa9646d7250d52e1b1a66095a9806273ecf6da9e91b981414f6a5 env: PORT: "{{ .Values.service.main.ports.main.port }}"