Commit new App releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2022-03-06 15:09:53 +00:00
parent 4a7d2a9017
commit e48d572fd1
15 changed files with 3390 additions and 0 deletions

View File

@ -0,0 +1,10 @@
# Changelog<br>
<a name="openhab-0.0.1"></a>
### openhab-0.0.1 (2022-03-06)
#### Add
* add openHAB ([#2038](https://github.com/truecharts/apps/issues/2038))

View File

@ -0,0 +1,8 @@
# Configuration Options
##### Connecting to other apps
If you need to connect this App to other Apps on TrueNAS SCALE, please refer to our "Linking Apps Internally" quick-start guide:
https://truecharts.org/manual/Quick-Start%20Guides/14-linking-apps/
##### Available config options
In the future this page is going to contain an automated list of options available in the installation/edit UI.

View File

@ -0,0 +1,6 @@
dependencies:
- name: common
repository: https://truecharts.org
version: 9.0.0
digest: sha256:698ec3af3a62abac00301be695632853c20eb3be284f5a779019fc86730c5ca7
generated: "2022-03-06T15:03:07.989901364Z"

View File

@ -0,0 +1,28 @@
apiVersion: v2
appVersion: "3.2.0"
dependencies:
- name: common
repository: https://truecharts.org
version: 9.0.0
deprecated: false
description: OpenHab is a home-automation application
home: https://github.com/truecharts/apps/tree/master/charts/stable/openhab
icon: https://truecharts.org/_static/img/appicons/openhab-icon.png
keywords:
- openhab
kubeVersion: '>=1.16.0-0'
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: openhab
sources:
- https://hub.docker.com/r/openhab/openhab
type: application
version: 0.0.1
annotations:
truecharts.org/catagories: |
- media
- test
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,37 @@
# Introduction
OpenHab is a home-automation application
TrueCharts are designed to be installed as TrueNAS SCALE app only. We can not guarantee this charts works as a stand-alone helm installation.
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/apps/issues/new/choose)**
## Source Code
* <https://hub.docker.com/r/openhab/openhab>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://truecharts.org | common | 9.0.0 |
## Installing the Chart
To install this App on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/03-Installing-an-App/).
## Uninstalling the Chart
To remove this App from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/07-Deleting-an-App/).
## Support
- Please check our [quick-start guides](https://truecharts.org/manual/Quick-Start%20Guides/01-Open-Apps/) first.
- See the [Wiki](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/apps/issues/new/choose)
---
All Rights Reserved - The TrueCharts Project

View File

@ -0,0 +1,3 @@
OpenHab is a home-automation application
This App is supplied by TrueCharts, for more information please visit https://truecharts.org

Binary file not shown.

View File

@ -0,0 +1,36 @@
# Default Helm-Values
TrueCharts is primarily build to supply TrueNAS SCALE Apps.
However, we also supply all Apps as standard Helm-Charts. In this document we aim to document the default values in our values.yaml file.
Most of our Apps also consume our "common" Helm Chart.
If this is the case, this means that all values.yaml values are set to the common chart values.yaml by default. This values.yaml file will only contain values that deviate from the common chart.
You will, however, be able to use all values referenced in the common chart here, besides the values listed in this document.
## Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| env.OPENHAB_HTTPS_PORT | string | `"{{ .Values.service.https.ports.https.port }}"` | |
| env.OPENHAB_HTTP_PORT | string | `"{{ .Values.service.main.ports.main.port }}"` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"tccr.io/truecharts/openhab"` | |
| image.tag | string | `"v3.2.0@sha256:813f937332689854c808142b0b8af38edeed276e1c5a07bf4c77cb76ea6e7e61"` | |
| persistence.addons.enabled | bool | `true` | |
| persistence.addons.mountPath | string | `"/openhab/addons"` | |
| persistence.config.enabled | bool | `true` | |
| persistence.config.mountPath | string | `"/openhab/conf"` | |
| persistence.userdata.enabled | bool | `true` | |
| persistence.userdata.mountPath | string | `"/openhab/userdata"` | |
| podSecurityContext.runAsGroup | int | `0` | |
| podSecurityContext.runAsUser | int | `0` | |
| securityContext.readOnlyRootFilesystem | bool | `false` | |
| securityContext.runAsNonRoot | bool | `false` | |
| service.https.enabled | bool | `true` | |
| service.https.ports.https.enabled | bool | `true` | |
| service.https.ports.https.port | int | `10170` | |
| service.https.protocol | string | `"HTTPS"` | |
| service.main.ports.main.port | int | `10169` | |
| service.main.protocol | string | `"HTTP"` | |
All Rights Reserved - The TrueCharts Project

View File

@ -0,0 +1,42 @@
image:
repository: tccr.io/truecharts/openhab
pullPolicy: IfNotPresent
tag: v3.2.0@sha256:813f937332689854c808142b0b8af38edeed276e1c5a07bf4c77cb76ea6e7e61
service:
main:
protocol: HTTP
ports:
main:
port: 10169
https:
protocol: HTTPS
enabled: true
ports:
https:
enabled: true
port: 10170
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
env:
OPENHAB_HTTP_PORT: "{{ .Values.service.main.ports.main.port }}"
OPENHAB_HTTPS_PORT: "{{ .Values.service.https.ports.https.port }}"
persistence:
config:
enabled: true
mountPath: "/openhab/conf"
addons:
enabled: true
mountPath: "/openhab/addons"
userdata:
enabled: true
mountPath: "/openhab/userdata"

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,14 @@
{{/* Append the hardcoded volumes */}}
{{- define "openhab.configmap" -}}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "common.names.fullname" . }}-init
labels:
{{- include "common.labels" . | nindent 4 }}
data:
enable-console-logging.sh: |
echo 'Enabling console logging.'
sed -i -E 's|(<AppenderRef ref="OSGI"/>).*|\1<AppenderRef ref="STDOUT"/>|' /openhab/userdata/etc/log4j2.xml
{{- end -}}

View File

@ -0,0 +1,22 @@
{{/* Make sure all variables are set properly */}}
{{- include "common.setup" . }}
{{/* Render configmap for openhab */}}
{{- include "openhab.configmap" . }}
{{/* Append the hardcoded volumes */}}
{{- define "openhab.hardcodedValues" -}}
persistence:
init:
enabled: true
mountPath: /etc/cont-init.d/enable-console-logging.sh
subPath: enable-console-logging.sh
type: custom
volumeSpec:
configMap:
name: {{ printf "%v-init" (include "common.names.fullname" .) }}
{{- end -}}
{{- $_ := mergeOverwrite .Values (include "openhab.hardcodedValues" . | fromYaml) -}}
{{/* Render the templates */}}
{{ include "common.postSetup" . }}

View File

View File

@ -0,0 +1,5 @@
icon_url: https://truecharts.org/_static/img/appicons/openhab-icon.png
categories:
- media
- test