From a3d64a7af6106eec94425550c2297546a45f2f5f Mon Sep 17 00:00:00 2001 From: alfi0812 <43101280+alfi0812@users.noreply.github.com> Date: Tue, 27 Feb 2024 17:14:52 +0100 Subject: [PATCH] feat(speedtest-tracker): Add Speedtest Tracker chart (#18672) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** Added Speedtest-Tracker with the Image from LinuxServer.io which got recently released. https://github.com/alexjustesen/speedtest-tracker/issues/1117 **โš™๏ธ Type of change** - [x] โš™๏ธ Feature/App addition - [ ] ๐Ÿช› Bugfix - [ ] โš ๏ธ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] ๐Ÿ”ƒ Refactor of current code **๐Ÿงช How Has This Been Tested?** Added App as Custom-App in a working state and checked with @StevenMcElligott **๐Ÿ“ƒ Notes:** **โœ”๏ธ Checklist:** - [x] โš–๏ธ My code follows the style guidelines of this project - [x] ๐Ÿ‘€ I have performed a self-review of my own code - [ ] #๏ธโƒฃ I have commented my code, particularly in hard-to-understand areas - [ ] ๐Ÿ“„ I have made corresponding changes to the documentation - [ ] โš ๏ธ My changes generate no new warnings - [ ] ๐Ÿงช I have added tests to this description that prove my fix is effective or that my feature works - [ ] โฌ†๏ธ I increased versions for any altered app according to semantic versioning **โž• App addition** If this PR is an app addition please make sure you have done the following. - [x] ๐Ÿ–ผ๏ธ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --------- Signed-off-by: StevenMcElligott <89483932+StevenMcElligott@users.noreply.github.com> Signed-off-by: alfi0812 <43101280+alfi0812@users.noreply.github.com> Co-authored-by: StevenMcElligott <89483932+StevenMcElligott@users.noreply.github.com> Co-authored-by: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com> --- .../incubator/speedtest-tracker/.helmignore | 30 ++++ charts/incubator/speedtest-tracker/Chart.yaml | 45 +++++ charts/incubator/speedtest-tracker/README.md | 4 + charts/incubator/speedtest-tracker/icon.png | Bin 0 -> 6072 bytes .../speedtest-tracker/questions.yaml | 156 ++++++++++++++++++ .../speedtest-tracker/templates/NOTES.txt | 1 + .../speedtest-tracker/templates/_secrets.tpl | 11 ++ .../speedtest-tracker/templates/common.yaml | 11 ++ .../incubator/speedtest-tracker/values.yaml | 87 ++++++++++ 9 files changed, 345 insertions(+) create mode 100644 charts/incubator/speedtest-tracker/.helmignore create mode 100644 charts/incubator/speedtest-tracker/Chart.yaml create mode 100644 charts/incubator/speedtest-tracker/README.md create mode 100644 charts/incubator/speedtest-tracker/icon.png create mode 100644 charts/incubator/speedtest-tracker/questions.yaml create mode 100644 charts/incubator/speedtest-tracker/templates/NOTES.txt create mode 100644 charts/incubator/speedtest-tracker/templates/_secrets.tpl create mode 100644 charts/incubator/speedtest-tracker/templates/common.yaml create mode 100644 charts/incubator/speedtest-tracker/values.yaml diff --git a/charts/incubator/speedtest-tracker/.helmignore b/charts/incubator/speedtest-tracker/.helmignore new file mode 100644 index 00000000000..77ca5567b26 --- /dev/null +++ b/charts/incubator/speedtest-tracker/.helmignore @@ -0,0 +1,30 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ +# OWNERS file for Kubernetes +OWNERS +# helm-docs templates +*.gotmpl +# docs folder +/docs +# icon +icon.png diff --git a/charts/incubator/speedtest-tracker/Chart.yaml b/charts/incubator/speedtest-tracker/Chart.yaml new file mode 100644 index 00000000000..c6ce5e8215e --- /dev/null +++ b/charts/incubator/speedtest-tracker/Chart.yaml @@ -0,0 +1,45 @@ +annotations: + max_scale_version: 24.04.0 + min_scale_version: 23.10.0 + truecharts.org/SCALE-support: "true" + truecharts.org/category: productivity + truecharts.org/max_helm_version: "3.14" + truecharts.org/min_helm_version: "3.12" + truecharts.org/train: incubator +apiVersion: v2 +appVersion: 0.17.2 +dependencies: + - name: common + version: 18.0.3 + repository: oci://tccr.io/truecharts + condition: "" + alias: "" + tags: [] + import-values: [] + - name: redis + version: 11.2.1 + repository: oci://tccr.io/truecharts + condition: redis.enabled + alias: "" + tags: [] + import-values: [] +deprecated: false +description: Speedtest Tracker is a self-hosted internet performance tracking application that runs speedtest checks against Ookla's Speedtest service. +home: https://truecharts.org/charts/incubator/speedtest-tracker +icon: https://truecharts.org/img/hotlink-ok/chart-icons/speedtest-tracker.png +keywords: + - speedtest + - speedtest-tracker +kubeVersion: '>=1.24.0-0' +maintainers: + - name: TrueCharts + email: info@truecharts.org + url: https://truecharts.org +name: speedtest-tracker +sources: + - https://github.com/alexjustesen/speedtest-tracker + - https://github.com/linuxserver/docker-speedtest-tracker + - https://github.com/truecharts/charts/tree/master/charts/incubator/speedtest-tracker + - https://ghcr.io/paperless-ngx/paperless-ngx +type: application +version: 0.0.1 diff --git a/charts/incubator/speedtest-tracker/README.md b/charts/incubator/speedtest-tracker/README.md new file mode 100644 index 00000000000..2def1ee9402 --- /dev/null +++ b/charts/incubator/speedtest-tracker/README.md @@ -0,0 +1,4 @@ +--- +title: README +--- + diff --git a/charts/incubator/speedtest-tracker/icon.png b/charts/incubator/speedtest-tracker/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..78d5c377c9f623bbff8d870e8433f0d402897ae6 GIT binary patch literal 6072 zcmbVQXH-+ox~3zDQl$!n4njx>JrY2QfYL#l^dtnNB!tjI5fo8WKtzzPARvfzkPgzM zSLuS%rT1QL{EF+lcb$9Bx@WI7duH}L^Su52u^;Q}YFwgbrzRpIx}>G4W=NQAe~k+i zg!gp3w;W-j!f2X%5D{H&`Zb7SMK5y@5s|Gq8JpqEbhM#xw5zxs0&R~J_i@D#&_qNE zNf(O2nYfJ5)eQSUpJhc575nn?{5Y*qz4@9guywX-2lHB z?d;K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op<$Gx9A6~NeDa{=mPO5d0Silr=E_(^3!Kxt z^>gU-hiE@)Vb~RA3%$IRfMucNnXy|L;tG~wWati&(Y>XBvHbLGFD*`~+t(6HhBy>A zePLTW`w^bjCI-5yx?W@>l+7y|1Reo#cXJgTBS1bRdWAEcc4AJx| z-D8g%6_%ZfWuALr+fwrr2Vq4Jm$zuja}FDdD~Zilbwy59@YV`kv|MP+bxcm*gPfdf z3Uc~}Z%dz-8EbmenB?kBBk}#o=Rzxuqy5dQ6^bCB)wA(S8-5c$u!fW^$yIeWgUA&k zzeaATjoAo!HwhkewxF6nMY|}i-x-B(X19MkWG_K+q!F>F&zaVQdeej(i#@L-CnHxC zd6FJ7v~(yXb>sZgTvE=t%o?EOLg+iD@$b|RunGH~ThE&S3Q++HbbB~|lE;i)O|(HN zTS{mOZlCiSd3rRt`oo8`W4?!PvYZBe(i-CtEeq9Dt*msigKoW@)91t**Y~K0LF%Tz P{;g}N>#BWJu?_hzf`H*J literal 0 HcmV?d00001 diff --git a/charts/incubator/speedtest-tracker/questions.yaml b/charts/incubator/speedtest-tracker/questions.yaml new file mode 100644 index 00000000000..36c6e314c58 --- /dev/null +++ b/charts/incubator/speedtest-tracker/questions.yaml @@ -0,0 +1,156 @@ +# Include{groups} +portals: + open: +# Include{portalLink} +questions: +# Include{global} +# Include{workload} +# Include{workloadDeployment} +# Include{replicas1} +# Include{podSpec} +# Include{containerMain} + - variable: env + group: "App Configuration" + label: "Image Environment" + schema: + additional_attrs: true + type: dict + attrs: + - variable: APP_URL + label: "Speedtest-Tracker URL" + schema: + type: string + default: "" + - variable: TELEGRAM_BOT_TOKEN + label: "Speedtest-Tracker Telegram Token" + schema: + type: string + default: "" + - variable: mail + label: Show Mail Server Settings + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: MAIL_MAILER + label: Server Memory + schema: + type: string + required: true + default: "smtp" + - variable: MAIL_HOST + label: Host + schema: + type: string + required: true + default: "" + - variable: MAIL_PORT + label: Port + schema: + type: int + required: true + default: 465 + - variable: MAIL_USERNAME + label: Username + schema: + type: string + required: true + default: "" + - variable: MAIL_PASSWORD + label: Password + schema: + type: string + required: true + private: true + default: "" + - variable: MAIL_ENCRYPTION + label: Mail Server Port + schema: + type: string + required: true + default: "" + - variable: MAIL_FROM_ADDRESS + label: Sender Address + schema: + type: string + default: "" + - variable: MAIL_FROM_NAME + label: Sender Name + schema: + type: string + default: "Speedtest Tracker" +# Include{containerBasic} +# Include{containerAdvanced} +# Include{containerConfig} +# Include{podOptions} +# Include{serviceRoot} +# Include{serviceMain} +# Include{serviceSelectorLoadBalancer} +# Include{serviceSelectorExtras} + - variable: main + label: "Main Service Port Configuration" + schema: + additional_attrs: true + type: dict + attrs: + - variable: port + label: "Port" + description: "This port exposes the container port on the service" + schema: + type: int + default: 9004 + required: true +# Include{serviceExpertRoot} +# Include{serviceExpert} +# Include{serviceList} +# Include{persistenceRoot} + - variable: config + label: App Config Storage + description: Stores the Application Config. + schema: + additional_attrs: true + type: dict + attrs: +# Include{persistenceBasic} +# Include{persistenceList} +# Include{ingressRoot} + - variable: main + label: "Main Ingress" + schema: + additional_attrs: true + type: dict + attrs: +# Include{ingressDefault} +# Include{ingressAdvanced} +# Include{ingressList} +# Include{securityContextRoot} + - variable: runAsUser + label: "runAsUser" + description: "The UserID of the user running the application" + schema: + type: int + default: 0 + - variable: runAsGroup + label: "runAsGroup" + description: "The groupID this App of the user running the application" + schema: + type: int + default: 0 +# Include{securityContextContainer} +# Include{securityContextAdvanced} +# Include{securityContextPod} + - variable: fsGroup + label: "fsGroup" + description: "The group that should own ALL storage." + schema: + type: int + default: 568 +# Include{resources} +# Include{postgresql} +# Include{advanced} +# Include{addons} +# Include{codeserver} +# Include{netshoot} +# Include{vpn} +# Include{documentation} diff --git a/charts/incubator/speedtest-tracker/templates/NOTES.txt b/charts/incubator/speedtest-tracker/templates/NOTES.txt new file mode 100644 index 00000000000..efcb74cb772 --- /dev/null +++ b/charts/incubator/speedtest-tracker/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "tc.v1.common.lib.chart.notes" $ -}} diff --git a/charts/incubator/speedtest-tracker/templates/_secrets.tpl b/charts/incubator/speedtest-tracker/templates/_secrets.tpl new file mode 100644 index 00000000000..7159a4757ce --- /dev/null +++ b/charts/incubator/speedtest-tracker/templates/_secrets.tpl @@ -0,0 +1,11 @@ +{{/* Define the secrets */}} +{{- define "speedtest-tracker.secrets" -}} +{{- $secretName := (printf "%s-speedtest-tracker-secrets" (include "tc.v1.common.lib.chart.names.fullname" $)) -}} +{{- $key := randAlphaNum 32 -}} +{{- with (lookup "v1" "Secret" .Release.Namespace $secretName) -}} + {{- $key = index .data "APP_KEY" | b64dec -}} +{{- end }} +enabled: true +data: + APP_KEY: {{ $key }} +{{- end -}} diff --git a/charts/incubator/speedtest-tracker/templates/common.yaml b/charts/incubator/speedtest-tracker/templates/common.yaml new file mode 100644 index 00000000000..5fb28a10c7a --- /dev/null +++ b/charts/incubator/speedtest-tracker/templates/common.yaml @@ -0,0 +1,11 @@ +{{/* Make sure all variables are set properly */}} +{{ include "tc.v1.common.loader.init" . }} + +{{/* Render secrets for speedtest-tracker */}} +{{- $secrets := include "speedtest-tracker.secrets" . | fromYaml -}} +{{- if $secrets -}} +{{- $_ := set .Values.secret "speedtest-tracker-secrets" $secrets -}} +{{- end -}} + +{{/* Render the templates */}} +{{ include "tc.v1.common.loader.apply" . }} diff --git a/charts/incubator/speedtest-tracker/values.yaml b/charts/incubator/speedtest-tracker/values.yaml new file mode 100644 index 00000000000..05af5f5715a --- /dev/null +++ b/charts/incubator/speedtest-tracker/values.yaml @@ -0,0 +1,87 @@ +image: + repository: ghcr.io/linuxserver/speedtest-tracker + pullPolicy: IfNotPresent + tag: 0.17.2@sha256:739aaa9df772ff38014d34eb1deddcea16a9e8ab6f72b30e24b23963ca397681 +service: + main: + ports: + main: + targetPort: 80 + port: 9004 +persistence: + config: + enabled: true + mountPath: "/config" +redis: + enabled: true + redisUsername: default +cnpg: + main: + enabled: true + user: speedtest-tracker + database: speedtest-tracker +portal: + open: + enabled: true +securityContext: + container: + runAsNonRoot: false + readOnlyRootFilesystem: false + runAsUser: 0 + runAsGroup: 0 +workload: + main: + podSpec: + containers: + main: + securityContext: + capabilities: + add: + - SYS_CHROOT + - KILL + probes: + liveness: + enabled: true + type: http + path: /api/healthcheck + startup: + enabled: true + type: http + path: /api/healthcheck + readiness: + enabled: true + type: http + path: /api/healthcheck + env: + APP_URL: "" + DB_CONNECTION: pgsql + DB_HOST: + secretKeyRef: + name: cnpg-main-urls + key: host + DB_PORT: "5432" + DB_DATABASE: "{{ .Values.cnpg.main.database }}" + DB_USERNAME: "{{ .Values.cnpg.main.user }}" + DB_PASSWORD: + secretKeyRef: + name: cnpg-main-user + key: password + APP_KEY: + secretKeyRef: + name: speedtest-tracker-secrets + key: APP_KEY + MAIL_MAILER: "smtp" + MAIL_PORT : 465 + MAIL_USERNAME: "" + MAIL_PASSWORD: "" + MAIL_ENCRYPTION: "" + MAIL_FROM_ADDRESS: "" + MAIL_FROM_NAME: "Speedtest Tracker" + TELEGRAM_BOT_TOKEN: "" + CACHE_DRIVER: redis + REDIS_URL: + secretKeyRef: + expandObjectName: false + name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}' + key: url +