Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2022-11-10 09:52:04 +00:00
parent cb83335f11
commit 697b577cdc
12 changed files with 2981 additions and 0 deletions

View File

@ -0,0 +1,6 @@
# Changelog
## [magicmirror2-0.0.1]magicmirror2-0.0.1 (2022-11-10)

View File

@ -0,0 +1,6 @@
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 10.9.1
digest: sha256:543125cb987570d54421c68811b997f579609520c0f0b3aeb812e000def468ef
generated: "2022-11-10T09:50:33.485003748Z"

View File

@ -0,0 +1,31 @@
apiVersion: v2
appVersion: "latest"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 10.9.1
deprecated: false
description: Open source modular smart mirror platform.
home: https://truecharts.org/docs/charts/incubator/magicmirror2
icon: https://truecharts.org/img/hotlink-ok/chart-icons/magicmirror2.png
keywords:
- magicmirror2
- iot
- smart
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: magicmirror2
sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/magicmirror2
- https://hub.docker.com/r/ich777/magic-mirror2
type: application
version: 0.0.1
annotations:
truecharts.org/catagories: |
- smart
- iot
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,106 @@
# magicmirror2
Open source modular smart mirror platform.
TrueCharts can be installed as both *normal* Helm Charts or as Apps on TrueNAS SCALE.
This readme is just an automatically generated general guide on installing our Helm Charts and Apps.
For more information, please click here: [magicmirror2](https://truecharts.org/docs/charts/incubator/magicmirror2)
**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)**
## Source Code
* <https://github.com/truecharts/charts/tree/master/charts/incubator/magicmirror2>
* <https://hub.docker.com/r/ich777/magic-mirror2>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.truecharts.org | common | 10.9.1 |
## Installing the Chart
### TrueNAS SCALE
To install this Chart on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/docs/manual/SCALE%20Apps/Installing-an-App).
### Helm
To install the chart with the release name `magicmirror2`
```console
helm repo add TrueCharts https://charts.truecharts.org
helm repo update
helm install magicmirror2 TrueCharts/magicmirror2
```
## Uninstall
### TrueNAS SCALE
**Upgrading, Rolling Back and Uninstalling the Chart**
To upgrade, rollback or delete this Chart from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/docs/manual/SCALE%20Apps/Upgrade-rollback-delete-an-App).
### Helm
To uninstall the `magicmirror2` deployment
```console
helm uninstall magicmirror2
```
## Configuration
### Helm
#### Available Settings
Read through the values.yaml file. It has several commented out suggested values.
Other values may be used from the [values.yaml](https://github.com/truecharts/library-charts/tree/main/charts/stable/common/values.yaml) from the [common library](https://github.com/truecharts/library-charts/tree/main/charts/common).
#### Configure using the command line
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
```console
helm install magicmirror2 \
--set env.TZ="America/New York" \
TrueCharts/magicmirror2
```
#### Configure using a yaml file
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
```console
helm install magicmirror2 TrueCharts/magicmirror2 -f values.yaml
```
#### Connecting to other charts
If you need to connect this Chart to other Charts on TrueNAS SCALE, please refer to our [Linking Charts Internally](https://truecharts.org/docs/manual/SCALE%20Apps/linking-apps) quick-start guide.
## Support
- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/docs/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/apps/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,8 @@
Open source modular smart mirror platform.
This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/docs/charts/incubator/magicmirror2](https://truecharts.org/docs/charts/incubator/magicmirror2)
---
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/docs/about/sponsor) or contributing back to the project any way you can!

Binary file not shown.

View File

@ -0,0 +1,58 @@
image:
repository: tccr.io/truecharts/magicmirror-2
pullPolicy: IfNotPresent
tag: latest@sha256:d39dd5ba0f16b97ce6da85803c780fa6880569dbcce141c6a4e4700079501625
securityContext:
runAsNonRoot: false
readOnlyRootFilesystem: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
magicmirror:
force_update: false
force_update_modules: false
language: en
time_format: "24"
units: metrics
envFrom:
- configMapRef:
name: '{{ include "tc.common.names.fullname" . }}-magicmirror-env'
probes:
liveness:
type: HTTP
path: /
readiness:
type: HTTP
path: /
startup:
type: HTTP
path: /
service:
main:
ports:
main:
port: 10590
protocol: HTTP
persistence:
config:
enabled: true
mountPath: /magicmirror2
configfile:
enabled: true
type: custom
mountPath: /magicmirror2/config/config.js
subPath: config.js
defaultMode: "0770"
volumeSpec:
configMap:
name: '{{ printf "%s-magicmirror-config" (include "tc.common.names.fullname" .) }}'
portal:
enabled: true

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,128 @@
{{/* Define the configmap */}}
{{- define "magicmirror.config" -}}
{{- $configName := printf "%s-magicmirror-config" (include "tc.common.names.fullname" .) }}
{{- $configEnvName := printf "%s-magicmirror-env" (include "tc.common.names.fullname" .) }}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ $configName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
data:
config.js: |
/* Magic Mirror Config Sample
*
* By Michael Teeuw http://michaelteeuw.nl
* MIT Licensed.
*
* For more information on how you can configure this file
* See https://github.com/MichMich/MagicMirror#configuration
*
*/
var config = {
address: "0.0.0.0",
port: {{ .Values.service.main.ports.main.port }},
ipWhitelist: [], // Set [] to allow all IP addresses
// or add a specific IPv4 of 192.168.1.5 :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
// or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
useHttps: false, // Support HTTPS or not, default "false" will use HTTP
language: {{ .Values.magicmirror.language | quote }},
timeFormat: {{ .Values.magicmirror.time_format | trimAll "\"" }},
units: {{ .Values.magicmirror.units | quote }},
serverOnly: "true",
modules: [
{
module: "alert",
},
{
module: "updatenotification",
position: "top_bar"
},
{
module: "clock",
position: "top_left"
},
{
module: "calendar",
header: "US Holidays",
position: "top_left",
config: {
calendars: [
{
symbol: "calendar-check",
url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics"
}
]
}
},
{
module: "compliments",
position: "lower_third"
},
{
module: "currentweather",
position: "top_right",
config: {
location: "New York",
locationID: "", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
appid: "YOUR_OPENWEATHER_API_KEY"
}
},
{
module: "weatherforecast",
position: "top_right",
header: "Weather Forecast",
config: {
location: "New York",
locationID: "5128581", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
appid: "YOUR_OPENWEATHER_API_KEY"
}
},
{
module: "newsfeed",
position: "bottom_bar",
config: {
feeds: [
{
title: "New York Times",
url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
}
],
showSourceTitle: true,
showPublishDate: true,
broadcastNewsFeeds: true,
broadcastNewsUpdates: true
}
},
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ $configEnvName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
data:
DATA_DIR: /magicmirror2
UID: {{ .Values.security.PUID | quote }}
GID: {{ .Values.podSecurityContext.fsGroup | quote }}
FORCE_UPDATE: {{ .Values.magicmirror.force_update | quote }}
FORCE_UPDATE_MODULES: {{ .Values.magicmirror.force_update_modules | quote }}
{{- end -}}

View File

@ -0,0 +1,7 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.common.loader.init" . }}
{{- include "magicmirror.config" . }}
{{/* 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/magicmirror2.png
categories:
- smart
- iot