feat(watchyourlan): add watchyourlan (#3889)
* feat(watchyourlan): add watchyourlan * probes * lint * gui ip * Delete CHANGELOG.md * Update charts/incubator/watchyourlan/README.md Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
parent
86a66e1415
commit
4f7e0a8cc0
|
@ -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
|
|
@ -0,0 +1,26 @@
|
|||
apiVersion: v2
|
||||
appVersion: "10.6.2"
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://library-charts.truecharts.org
|
||||
version: 10.5.10
|
||||
description: Lightweight network IP scanner with web GUI
|
||||
home: https://truecharts.org/docs/charts/stable/airsonic
|
||||
icon: https://truecharts.org/img/hotlink-ok/chart-icons/airsonic.png
|
||||
keywords:
|
||||
- network
|
||||
- monitor
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
maintainers:
|
||||
- email: info@truecharts.org
|
||||
name: TrueCharts
|
||||
url: https://truecharts.org
|
||||
name: watchyourlan
|
||||
sources:
|
||||
- https://github.com/aceberg/WatchYourLAN
|
||||
version: 0.0.1
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- network
|
||||
truecharts.org/SCALE-support: "true"
|
||||
truecharts.org/grade: U
|
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
|
@ -0,0 +1,165 @@
|
|||
# Include{groups}
|
||||
portals:
|
||||
open:
|
||||
# Include{portalLink}
|
||||
questions:
|
||||
# Include{global}
|
||||
# Include{controller}
|
||||
# Include{controllerDeployment}
|
||||
# Include{replicas}
|
||||
# Include{replica1}
|
||||
# Include{strategy}
|
||||
# Include{recreate}
|
||||
# Include{controllerExpert}
|
||||
# Include{controllerExpertExtraArgs}
|
||||
- variable: watchyourlan
|
||||
group: Container Configuration
|
||||
label: Watch Your Lan Configuration
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: gui_ip
|
||||
label: GUI IP
|
||||
description: Address for web GUI
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
$ref:
|
||||
- "definitions/nodeIP"
|
||||
- variable: interfaces
|
||||
label: Interfaces
|
||||
description: Interface to scan. Could be one or more
|
||||
schema:
|
||||
type: list
|
||||
default: []
|
||||
items:
|
||||
- variable: interfaceEntry
|
||||
label: Interface Entry
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
default: ""
|
||||
- variable: theme
|
||||
label: Theme
|
||||
description: Any theme name from https://bootswatch.com in lowercase
|
||||
schema:
|
||||
type: string
|
||||
default: darkly
|
||||
- variable: timeout
|
||||
label: Timeout
|
||||
description: Time between scans (seconds)
|
||||
schema:
|
||||
type: int
|
||||
default: 300
|
||||
- variable: shoutrrr_url
|
||||
label: Shoutrrr URL
|
||||
description: Url to any notification service supported by Shoutrrr (gotify, email, telegram and others)
|
||||
schema:
|
||||
type: string
|
||||
default: ""
|
||||
# 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: 10355
|
||||
required: true
|
||||
# Include{advancedPortHTTP}
|
||||
- variable: targetPort
|
||||
label: Target Port
|
||||
description: The internal(!) port on the container the Application runs on
|
||||
schema:
|
||||
type: int
|
||||
default: 10355
|
||||
# Include{serviceExpertRoot}
|
||||
default: true
|
||||
# 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{persistenceAdvanced}
|
||||
# Include{persistenceList}
|
||||
# Include{ingressRoot}
|
||||
- variable: main
|
||||
label: Main Ingress
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
# Include{ingressDefault}
|
||||
# Include{ingressTLS}
|
||||
# Include{ingressTraefik}
|
||||
# Include{ingressExpert}
|
||||
# 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: true
|
||||
- variable: allowPrivilegeEscalation
|
||||
label: Allow Privilege Escalation
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
- variable: runAsNonRoot
|
||||
label: runAsNonRoot
|
||||
schema:
|
||||
type: boolean
|
||||
default: true
|
||||
# Include{securityContextAdvanced}
|
||||
# Include{podSecurityContextRoot}
|
||||
- variable: runAsUser
|
||||
label: runAsUser
|
||||
description: The UserID of the user running the application
|
||||
schema:
|
||||
type: int
|
||||
default: 568
|
||||
- variable: runAsGroup
|
||||
label: runAsGroup
|
||||
description: The groupID this App of the user running the application
|
||||
schema:
|
||||
type: int
|
||||
default: 568
|
||||
- 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{documentation}
|
|
@ -0,0 +1 @@
|
|||
{{ include "tc.common.loader.all" . }}
|
|
@ -0,0 +1,50 @@
|
|||
image:
|
||||
repository: tccr.io/truecharts/watchyourlan
|
||||
tag: 0.7.5@sha256:6047a781b8584f44f6128b38b0cf0a6f26ed4daf4aa2d5db62a5117920d1bbe5
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
hostNetwork: true
|
||||
|
||||
watchyourlan:
|
||||
gui_ip: "0.0.0.0"
|
||||
interfaces:
|
||||
- enp1s0
|
||||
theme: darkly
|
||||
timeout: 300
|
||||
shoutrrr_url: ""
|
||||
|
||||
env:
|
||||
GUIPORT: "{{ .Values.service.main.ports.main.port }}"
|
||||
DBPATH: /data/db.sqlite
|
||||
# User Defined
|
||||
GUIIP: "{{ .Values.watchyourlan.gui_ip }}"
|
||||
IFACE: '{{ join " " .Values.watchyourlan.interfaces }}'
|
||||
THEME: "{{ .Values.watchyourlan.theme }}"
|
||||
TIMEOUT: "{{ .Values.watchyourlan.timeout }}"
|
||||
SHOUTRRR_URL: "{{ .Values.watchyourlan.shoutrrr_url }}"
|
||||
|
||||
probes:
|
||||
liveness:
|
||||
type: HTTP
|
||||
path: /
|
||||
readiness:
|
||||
type: HTTP
|
||||
path: /
|
||||
startup:
|
||||
type: HTTP
|
||||
path: /
|
||||
|
||||
service:
|
||||
main:
|
||||
ports:
|
||||
main:
|
||||
port: 10355
|
||||
protocol: HTTP
|
||||
|
||||
persistence:
|
||||
data:
|
||||
enabled: true
|
||||
mountPath: "/data"
|
||||
|
||||
portal:
|
||||
enabled: true
|
|
@ -258,6 +258,7 @@ words:
|
|||
- vaultwarden
|
||||
- vdev
|
||||
- vm's
|
||||
- watchyourlan
|
||||
- webbasecontrol
|
||||
- webpanel
|
||||
- websecure
|
||||
|
|
Loading…
Reference in New Issue