diff --git a/charts/incubator/upsnap/.helmignore b/charts/incubator/upsnap/.helmignore new file mode 100644 index 00000000000..77ca5567b26 --- /dev/null +++ b/charts/incubator/upsnap/.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/upsnap/CHANGELOG.md b/charts/incubator/upsnap/CHANGELOG.md new file mode 100644 index 00000000000..825c32f0d03 --- /dev/null +++ b/charts/incubator/upsnap/CHANGELOG.md @@ -0,0 +1 @@ +# Changelog diff --git a/charts/incubator/upsnap/Chart.yaml b/charts/incubator/upsnap/Chart.yaml new file mode 100644 index 00000000000..89337420dcb --- /dev/null +++ b/charts/incubator/upsnap/Chart.yaml @@ -0,0 +1,29 @@ +apiVersion: v2 +appVersion: "3.0.5" +dependencies: + - name: common + repository: https://library-charts.truecharts.org + version: 11.1.2 +deprecated: false +description: A simple wake on lan app written with SvelteKit, Go, PocketBase and nmap. +home: https://truecharts.org/charts/incubator/upsnap +icon: https://truecharts.org/img/hotlink-ok/chart-icons/upsnap.png +keywords: + - upsnap +kubeVersion: ">=1.16.0-0" +maintainers: + - email: info@truecharts.org + name: TrueCharts + url: https://truecharts.org +name: upsnap +sources: + - https://github.com/truecharts/charts/tree/master/charts/incubator/upsnap + - https://github.com/seriousm4x/UpSnap + - https://ghcr.io/seriousm4x/upsnap +type: application +version: 0.0.1 +annotations: + truecharts.org/catagories: | + - networking + truecharts.org/SCALE-support: "true" + truecharts.org/grade: U diff --git a/charts/incubator/upsnap/README.md b/charts/incubator/upsnap/README.md new file mode 100644 index 00000000000..7e59600739c --- /dev/null +++ b/charts/incubator/upsnap/README.md @@ -0,0 +1 @@ +# README diff --git a/charts/incubator/upsnap/icon.png b/charts/incubator/upsnap/icon.png new file mode 100644 index 00000000000..9c658ae5acd Binary files /dev/null and b/charts/incubator/upsnap/icon.png differ diff --git a/charts/incubator/upsnap/questions.yaml b/charts/incubator/upsnap/questions.yaml new file mode 100644 index 00000000000..980837fe13d --- /dev/null +++ b/charts/incubator/upsnap/questions.yaml @@ -0,0 +1,132 @@ +# Include{groups} +portals: + open: +# Include{portalLink} +questions: +# Include{global} +# Include{controller} +# Include{replicas} +# Include{replica1} +# Include{controllerExpertExtraArgs} + - variable: env + group: App Configuration + label: Image Environment + schema: + additional_attrs: true + type: dict + attrs: + - variable: UPSNAP_INTERVAL + label: Upsnap Interval + description: Sets the interval in which the devices are pinged. + schema: + type: string + default: "@every 10s" + - variable: UPSNAP_SCAN_RANGE + label: Upsnap Scan Range + description: Scan range is used for device discovery on local network. + schema: + type: string + default: 192.168.1.0/24 + - variable: UPSNAP_WEBSITE_TITLE + label: Upsnap Website Title + description: Custom website title + schema: + type: string + default: TC WOL +# Include{containerConfig} +# Include{serviceRoot} + - variable: main + label: Main Service + description: The Primary service on which the healthcheck runs, often the webUI + schema: + additional_attrs: true + type: dict + attrs: +# 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: 10611 + required: true +# Include{serviceExpertRoot} + default: false +# Include{serviceExpert} +# Include{serviceList} +# Include{persistenceRoot} + - variable: data + label: App Data Storage + description: Stores the Application Data. + 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{ingressTLS} +# Include{ingressTraefik} +# Include{ingressList} +# Include{security} +# Include{securityContextAdvancedRoot} + - variable: privileged + label: Privileged mode + schema: + type: boolean + default: false + - variable: readOnlyRootFilesystem + label: ReadOnly Root Filesystem + schema: + type: boolean + default: false + - variable: allowPrivilegeEscalation + label: Allow Privilege Escalation + schema: + type: boolean + default: false + - variable: runAsNonRoot + label: runAsNonRoot + schema: + type: boolean + default: false +# Include{podSecurityContextRoot} + - 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 + - variable: fsGroup + label: fsGroup + description: The group that should own ALL storage. + schema: + type: int + default: 568 +# Include{podSecurityContextAdvanced} +# Include{resources} +# Include{advanced} +# Include{addons} +# Include{codeserver} +# Include{vpn} +# Include{documentation} diff --git a/charts/incubator/upsnap/templates/common.yaml b/charts/incubator/upsnap/templates/common.yaml new file mode 100644 index 00000000000..c1a366e1cf0 --- /dev/null +++ b/charts/incubator/upsnap/templates/common.yaml @@ -0,0 +1 @@ +{{ include "tc.common.loader.all" . }} diff --git a/charts/incubator/upsnap/values.yaml b/charts/incubator/upsnap/values.yaml new file mode 100644 index 00000000000..985700fa965 --- /dev/null +++ b/charts/incubator/upsnap/values.yaml @@ -0,0 +1,35 @@ +image: + repository: tccr.io/truecharts/upsnap + pullPolicy: IfNotPresent + tag: 3.0.5@sha256:5ed2433add3e4faad082d37c7df55c08409c8e4708bb1fa3129715e76b892ce5 + +securityContext: + readOnlyRootFilesystem: false + runAsNonRoot: false + +podSecurityContext: + runAsUser: 0 + runAsGroup: 0 + +hostNetwork: true + +env: + UPSNAP_INTERVAL: "@every 10s" + UPSNAP_SCAN_RANGE: 192.168.1.0/24 + UPSNAP_WEBSITE_TITLE: Truecharts WOL + +service: + main: + ports: + main: + protocol: HTTP + targetPort: 8090 + port: 10611 + +persistence: + data: + enabled: true + mountPath: /app/pb_data + +portal: + enabled: true diff --git a/cspell.config.yaml b/cspell.config.yaml index ee45185fbf1..14c00dba62e 100644 --- a/cspell.config.yaml +++ b/cspell.config.yaml @@ -35,6 +35,7 @@ words: - clouddns - cloudflared - cloudflareddns + - codeserver - collabora - configfile - configfiles @@ -283,6 +284,8 @@ words: - umami - unet - unifi + - Upsnap + - UPSNAP - Upstreams - userspace - vaapi