Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2023-01-21 11:52:54 +00:00
parent 3aad42dfa5
commit b2a2ad7ef0
24 changed files with 4821 additions and 0 deletions

View File

@ -0,0 +1,8 @@
**Important:**
*for the complete changelog, please refer to the website*
## [lama-cleaner-1.0.0](https://github.com/truecharts/charts/compare/lama-cleaner-0.0.5...lama-cleaner-1.0.0) (2023-01-21)

View File

@ -0,0 +1,31 @@
apiVersion: v2
appVersion: "0.26.1"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.1.2
deprecated: false
description: Open-source inpainting tool powered by SOTA AI model.
home: https://truecharts.org/charts/stable/lama-cleaner
icon: https://truecharts.org/img/hotlink-ok/chart-icons/lama-cleaner.png
keywords:
- lama-cleaner
- media
- AI
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: lama-cleaner
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/lama-cleaner
- https://github.com/Sanster/lama-cleaner
type: application
version: 1.0.0
annotations:
truecharts.org/catagories: |
- media
- AI
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,27 @@
# README
## General Info
TrueCharts can be installed as both *normal* Helm Charts or as Apps on TrueNAS SCALE.
However only installations using the TrueNAS SCALE Apps system are supported.
For more information about this App, please check the docs on the TrueCharts [website](https://truecharts.org/charts/incubator/)
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)**
## Support
- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/manual/SCALE%20Apps/Important-MUST-READ).
- See the [Website](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/charts/issues/new/choose)
---
## Sponsor TrueCharts
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can!
*All Rights Reserved - The TrueCharts Project*

View File

@ -0,0 +1,4 @@
## [lama-cleaner-1.0.0](https://github.com/truecharts/charts/compare/lama-cleaner-0.0.5...lama-cleaner-1.0.0) (2023-01-21)

View File

@ -0,0 +1,8 @@
Open-source inpainting tool powered by SOTA AI model.
This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/charts/stable/lama-cleaner](https://truecharts.org/charts/stable/lama-cleaner)
---
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can!

Binary file not shown.

View File

@ -0,0 +1,49 @@
image:
repository: tccr.io/truecharts/lama-cleaner-cpu
pullPolicy: IfNotPresent
tag: v0.26.1@sha256:5b9a166806fa1b7a2ab44196704e2772bf93dd2415fe869b0fabf072a61e356a
gpuImage:
repository: tccr.io/truecharts/lama-cleaner-gpu
tag: v0.26.1@sha256:14ee85f997664a5e638287609b7bff9829c65ead48ce445612ac258631f4fc7d
pullPolicy: Always
imageSelector: image
command: lama-cleaner
securityContext:
runAsNonRoot: false
readOnlyRootFilesystem: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
lamacleaner:
model: lama
input: ""
sd_run_local: false
hf_access_token: ""
sd_disable_nsfw: false
sd_cpu_text_encoder: false
sd_enable_xformers: false
debug: false
service:
main:
ports:
main:
protocol: HTTP
port: 10604
persistence:
torch:
enabled: true
mountPath: /root/.cache/torch
huggingface:
enabled: true
mountPath: /root/.cache/huggingface
portal:
enabled: true

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,33 @@
{{- define "lama.args" -}}
args:
- --host=0.0.0.0
- --port={{ .Values.service.main.ports.main.port }}
{{- if eq .Values.imageSelector "image" }}
- --device=cpu
{{- if .Values.lamacleaner.sd_cpu_text_encoder }}
- --sd-cpu-textencoder
{{- end }}
{{- else if eq .Values.imageSelector "gpuImage" }}
- --device=cuda
{{- end }}
{{- with .Values.lamacleaner.model }}
- --model={{ . }}
{{- end }}
{{- if .Values.lamacleaner.sd_run_local }}
- --sd-run-local
{{- else if .Values.lamacleaner.hf_access_token }}
- --hf_access_token={{ .Values.lamacleaner.hf_access_token }}
{{- end }}
{{- if .Values.lamacleaner.sd_enable_xformers }}
- --sd-enable-xformers
{{- end }}
{{- if .Values.lamacleaner.sd_disable_nsfw }}
- --sd-disable-nsfw
{{- end }}
{{- with .Values.lamacleaner.input }}
- --input={{ . }}
{{- end }}
{{- if .Values.lamacleaner.debug }}
- --debug
{{- end }}
{{- end -}}

View File

@ -0,0 +1,9 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.common.loader.init" . }}
{{- $newArgs := (include "lama.args" . | fromYaml) }}
{{- $args := concat .Values.args $newArgs.args }}
{{- $_ := set .Values "args" $args -}}
{{/* Render the templates */}}
{{ include "tc.common.loader.apply" . }}

View File

View File

@ -0,0 +1,5 @@
icon_url: https://truecharts.org/img/hotlink-ok/chart-icons/lama-cleaner.png
categories:
- media
- AI

View File

@ -0,0 +1,13 @@
**Important:**
*for the complete changelog, please refer to the website*
## [pialert-1.0.0](https://github.com/truecharts/charts/compare/pialert-0.0.4...pialert-1.0.0) (2023-01-21)
### Feat
- Move to stable + update docs ([#6587](https://github.com/truecharts/charts/issues/6587))

View File

@ -0,0 +1,30 @@
apiVersion: v2
appVersion: "latest"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.1.2
deprecated: false
description: Monitoring your WIFI/LAN network and alerting of new (intruder or hacker) devices.
home: https://truecharts.org/charts/stable/pialert
icon: https://truecharts.org/img/hotlink-ok/chart-icons/pialert.png
keywords:
- pialert
- networking
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: pialert
sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/pialert
- https://github.com/jokob-sk/Pi.Alert
- https://hub.docker.com/r/jokobsk/pi.alert
type: application
version: 1.0.0
annotations:
truecharts.org/catagories: |
- networking
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1 @@
# pialert

View File

@ -0,0 +1,9 @@
## [pialert-1.0.0](https://github.com/truecharts/charts/compare/pialert-0.0.4...pialert-1.0.0) (2023-01-21)
### Feat
- Move to stable + update docs ([#6587](https://github.com/truecharts/charts/issues/6587))

View File

@ -0,0 +1,8 @@
Monitoring your WIFI/LAN network and alerting of new (intruder or hacker) devices.
This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/charts/stable/pialert](https://truecharts.org/charts/stable/pialert)
---
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can!

Binary file not shown.

View File

@ -0,0 +1,142 @@
image:
repository: tccr.io/truecharts/pialert
pullPolicy: IfNotPresent
tag: latest@sha256:06211a59b084b4cf83f0ea4caff6ab83bfd9e241b654df2f9d44189c40962265
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
hostNetwork: true
pialert:
general:
dark_mode: true
web_protection: false
web_password: ""
print_log: false
report_dashboard_url: http://localhost
days_to_keep_events: 90
scan_cycle_minutes: 5
included_sections: []
scan_subnets:
[]
# - cidr: "192.168.1.0/24"
# interface: eth0
pushsafer:
enabled: false
token: ""
apprise:
enabled: false
host: ""
url: ""
ntfy:
enabled: false
host: ""
topic: ""
user: ""
password: ""
webhook:
enabled: false
url: ""
payload: json
method: GET
email:
enabled: false
server: ""
port: 587
report_to: ""
report_from: ""
skip_login: false
skip_tls: false
user: ""
password: ""
mqtt:
enabled: false
broker: ""
port: 1883
user: ""
password: ""
qos: 0
delay_sec: 2
dyndns:
enabled: false
domain: ""
user: ""
password: ""
update_url: ""
pholus:
enabled: false
timeout: 20
force: false
days_data: 7
run: once
run_timeout: 300
run_schedule: "0 4 * * *"
pihole:
# If enabled you need to map '/etc/pihole/pihole-FTL.db' with additional storage
pihole_active: false
# If enabled you need to map '/etc/pihole/dhcp.leases' with additional storage
dhcp_active: false
env:
HOST_USER_ID: "{{ .Values.podSecurityContext.runAsUser }}"
HOST_USER_GID: "{{ .Values.podSecurityContext.fsGroup }}"
PORT: "{{ .Values.service.main.ports.main.port }}"
service:
main:
ports:
main:
protocol: HTTP
port: 10600
persistence:
config:
enabled: true
mountPath: /home/pi/pialert/config
db:
enabled: true
mountPath: /home/pi/pialert/db
pialert-config:
enabled: true
noMount: true
type: secret
objectName: '{{ template "tc.common.names.fullname" . }}-secret'
initContainers:
init:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
volumeMounts:
- name: db
mountPath: /home/pi/pialert/db
- name: config
mountPath: /home/pi/pialert/config
- name: pialert-config
mountPath: /tc-pialert.conf
subPath: pialert.conf
command: ["/bin/sh", "-c"]
args:
- |
dark_file="/home/pi/pialert/db/setting_darkmode"
temp_config_file="/tc-pialert.conf"
config_file="/home/pi/pialert/config/pialert.conf"
echo "Copying config file into it's directory.."
cp -f "$temp_config_file" "$config_file" && echo "Copied config file successfully!" || echo "Failed to copy config file..."
{{- if .Values.pialert.general.dark_mode }}
echo "Enabling dark mode file..."
touch "$dark_file" && echo "Created dark mode file!" || echo "Failed to create dark mode file..."
{{- else }}
if [ -f "$dark_file" ]; then
rm -f $dark_file && echo "Dark mode file removed!" || echo "Failed to remove dark mode file..."
else
echo "Dark mode file does not exist, no action is needed."
fi
{{- end }}
portal:
enabled: true

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,148 @@
{{/* Define the configmap */}}
{{- define "pialert.secret" -}}
{{- $secretName := printf "%s-secret" (include "tc.common.names.fullname" .) }}
---
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: {{ $secretName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
stringData:
pialert.conf: |
# General
TIMEZONE={{ .Values.TZ | squote }}
PIALERT_WEB_PROTECTION={{ ternary "True" "False" .Values.pialert.general.web_protection }}
{{- if .Values.pialert.general.web_protection }}
PIALERT_WEB_PASSWORD={{ .Values.pialert.general.web_password | squote }}
{{- end }}
PRINT_LOG={{ ternary "True" "False" .Values.pialert.general.print_log }}
REPORT_DASHBOARD_URL={{ .Values.pialert.general.report_dashboard_url | squote }}
DAYS_TO_KEEP_EVENTS={{ .Values.pialert.general.days_to_keep_events }}
SCAN_CYCLE_MINUTES={{ .Values.pialert.general.scan_cycle_minutes }}
{{- with (uniq .Values.pialert.general.included_sections) }}
{{- if gt (len .) 4 -}}
{{- fail "You can define up to 4 unique sections" -}}
{{- end }}
INCLUDED_SECTIONS=[
{{- range $section := initial . }}
{{ . | squote }},
{{- end }}
{{ last . | squote }}
]
{{- else }}
INCLUDED_SECTIONS=['internet','new_devices','down_devices','events']
{{- end }}
{{- with .Values.pialert.general.scan_subnets }}
SCAN_SUBNETS=[
{{- range $entry := initial . }}
{{ (printf "%s --interface=%s" .cidr .interface) | squote }},
{{- end }}
{{- with last . }}
{{ (printf "%s --interface=%s" .cidr .interface) | squote }}
{{- end }}
]
{{- end }}
# PUSHSAFER
REPORT_PUSHSAFER={{ ternary "True" "False" .Values.pialert.pushsafer.enabled }}
{{- if .Values.pialert.pushsafer.enabled }}
PUSHSAFER_TOKEN={{ .Values.pialert.pushsafer.token | squote }}
{{- end }}
# Apprise
REPORT_APPRISE={{ ternary "True" "False" .Values.pialert.apprise.enabled }}
{{- if .Values.pialert.apprise.enabled }}
APPRISE_HOST={{ .Values.pialert.apprise.host | squote }}
APPRISE_URL={{ .Values.pialert.apprise.url | squote }}
{{- end }}
# NTFY
REPORT_NTFY={{ ternary "True" "False" .Values.pialert.ntfy.enabled }}
{{- if .Values.pialert.ntfy.enabled }}
NTFY_HOST={{ .Values.pialert.ntfy.host | squote }}
NTFY_TOPIC={{ .Values.pialert.ntfy.topic | squote }}
NTFY_USER={{ .Values.pialert.ntfy.user | squote }}
NTFY_PASSWORD={{ .Values.pialert.ntfy.password | squote }}
{{- end }}
# Webhooks
REPORT_WEBHOOK={{ ternary "True" "False" .Values.pialert.webhook.enabled }}
{{- if .Values.pialert.webhook.enabled }}
WEBHOOK_URL={{ .Values.pialert.webhook.url | squote }}
WEBHOOK_PAYLOAD={{ .Values.pialert.webhook.payload | squote }}
WEBHOOK_REQUEST_METHOD={{ .Values.pialert.webhook.method | squote }}
{{- end }}
# Email
REPORT_MAIL={{ ternary "True" "False" .Values.pialert.email.enabled }}
{{- if .Values.pialert.email.enabled }}
SMTP_SERVER={{ .Values.pialert.email.server | squote }}
SMTP_PORT={{ .Values.pialert.email.port }}
REPORT_TO={{ .Values.pialert.email.report_to | squote }}
REPORT_FROM={{ .Values.pialert.email.report_from | squote }}
SMTP_SKIP_LOGIN={{ ternary "True" "False" .Values.pialert.email.skip_login }}
{{- with .Values.pialert.email.user }}
SMTP_USER={{ . | squote }}
{{- end }}
{{- with .Values.pialert.email.password }}
SMTP_PASS={{ . | squote }}
{{- end }}
SMTP_SKIP_TLS={{ ternary "True" "False" .Values.pialert.email.skip_tls }}
{{- end }}
# MQTT
REPORT_MQTT={{ ternary "True" "False" .Values.pialert.mqtt.enabled }}
{{- if .Values.pialert.email.enabled }}
MQTT_BROKER={{ .Values.pialert.mqtt.broker | squote }}
MQTT_PORT={{ .Values.pialert.mqtt.port }}
{{- with .Values.pialert.mqtt.user }}
MQTT_USER={{ . | squote }}
{{- end }}
{{- with .Values.pialert.mqtt.password }}
MQTT_PASSWORD={{ . | squote }}
{{- end }}
MQTT_QOS={{ .Values.pialert.mqtt.qos }}
MQTT_DELAY_SEC={{ .Values.pialert.mqtt.delay_sec }}
{{- end }}
# DynDNS
DDNS_ACTIVE={{ ternary "True" "False" .Values.pialert.dyndns.enabled }}
{{- if .Values.pialert.dyndns.enabled }}
DDNS_DOMAIN={{ .Values.pialert.dyndns.domain | squote }}
{{- with .Values.pialert.dyndns.user }}
DDNS_USER={{ . | squote }}
{{- end }}
{{- with .Values.pialert.dyndns.password }}
DDNS_PASSWORD={{ . | squote }}
{{- end }}
DDNS_UPDATE_URL={{ .Values.pialert.dyndns.update_url | squote }}
{{- end }}
# Pholus
PHOLUS_ACTIVE={{ ternary "True" "False" .Values.pialert.pholus.enabled }}
{{- if .Values.pialert.pholus.enabled }}
PHOLUS_TIMEOUT={{ .Values.pialert.pholus.timeout }}
PHOLUS_FORCE={{ ternary "True" "False" .Values.pialert.pholus.force }}
PHOLUS_DAYS_DATA={{ .Values.pialert.pholus.days_data }}
PHOLUS_RUN={{ .Values.pialert.pholus.run | squote }}
PHOLUS_RUN_TIMEOUT={{ .Values.pialert.pholus.run_timeout }}
PHOLUS_RUN_SCHD={{ .Values.pialert.pholus.run_schedule | squote }}
{{- end }}
# PiHole
PIHOLE_ACTIVE={{ ternary "True" "False" .Values.pialert.pihole.pihole_active }}
DHCP_ACTIVE={{ ternary "True" "False" .Values.pialert.pihole.dhcp_active }}
{{- end }}

View File

@ -0,0 +1,7 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.common.loader.init" . }}
{{- include "pialert.secret" . -}}
{{/* Render the templates */}}
{{ include "tc.common.loader.apply" . }}

View File

4
stable/pialert/item.yaml Normal file
View File

@ -0,0 +1,4 @@
icon_url: https://truecharts.org/img/hotlink-ok/chart-icons/pialert.png
categories:
- networking