Files
truecharts/charts/incubator/pialert/values.yaml
T
545c83f253 move charts to incubator (#9131)
**Description**
Move the following apps to incubator.

```
| Chart Name        | Chart Name  | Chart Name                 |
| ----------------- | ----------- | -------------------------- |
| authentik         | darktable   | guacamole-client           |
| cloudflared       | dsmr-reader | habridge                   |
| dupeguru          | filerun     | filezilla                  |
| firefox           | flashpaper  | focalboard                 |
| gotify            | grist       | icantbelieveitsnotvaletudo |
| icinga2           | inventree   | invidious                  |
| joplin-server     | k8s-gateway | kimai                      |
| koel              | kopia       | kutt                       |
| leantime          | libreoffice | librephotos                |
| linkace           | loki        | lychee                     |
| mattermost        | mealie      | miniflux                   |
| ml-workspace      | mosquitto   | nextcloud                  |
| openkm            | openldap    | penpot                     |
| photoview         | pialert     | piaware                    |
| pidgin            | pihole      | plexanisync                |
| protonmail-bridge | pydio-cells | recipes                    |
| rtmpserver        | sdtd        | shiori                     |
| snipe-it          | statping-ng | synapse                    |
| teamspeak3        | typecho     | wbo                        |
| wger              | wireshark   | zusam                      |
| xbackbone         | youtrack    |                            |
```
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [ ] ⚙️ 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?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 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.

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ 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._

---------

Co-authored-by: xtar97 <dev.xtar97@gmail.com>
2023-05-24 19:03:16 +02:00

143 lines
3.3 KiB
YAML

image:
repository: tccr.io/truecharts/pialert
pullPolicy: IfNotPresent
tag: latest@sha256:66705d1c300932142e9b197508cfff781932307c43fb7d1aff8980c646cf6593
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