feat(upsnap) add upsnap (#7373)

* feat(upsnap) add upsnap
This commit is contained in:
Xstar97TheNoob
2023-02-19 15:53:30 -05:00
committed by GitHub
parent 0857b1e94c
commit 45c820f4d4
9 changed files with 232 additions and 0 deletions

View File

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

View File

@@ -0,0 +1 @@
# Changelog

View File

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

View File

@@ -0,0 +1 @@
# README

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

View File

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

View File

@@ -0,0 +1 @@
{{ include "tc.common.loader.all" . }}

View File

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

View File

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