Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2023-02-22 15:38:01 +00:00
parent f7e03dd64e
commit 759f72e051
12 changed files with 1733 additions and 0 deletions

View File

@ -0,0 +1,8 @@
**Important:**
*for the complete changelog, please refer to the website*
## [somfyprotect2mqtt-0.0.1]somfyprotect2mqtt-0.0.1 (2023-02-22)

View File

@ -0,0 +1,31 @@
apiVersion: v2
appVersion: "0.2.9"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.1.2
deprecated: false
description: Somfy Protect to MQTT
home: https://truecharts.org/charts/incubator/somfyprotect2mqtt
icon: https://truecharts.org/img/hotlink-ok/chart-icons/somfyprotect2mqtt.png
keywords:
- somfyprotect2mqtt
- mqtt
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: somfyprotect2mqtt
sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/somfyprotect2mqtt
- https://github.com/Minims/SomfyProtect2MQTT
- https://hub.docker.com/r/minims/somfyprotect2mqtt
type: application
version: 0.0.1
annotations:
truecharts.org/catagories: |
- homeautomation
- mqtt
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1 @@
# README

View File

@ -0,0 +1,4 @@
## [somfyprotect2mqtt-0.0.1]somfyprotect2mqtt-0.0.1 (2023-02-22)

View File

@ -0,0 +1,8 @@
Somfy Protect to MQTT
This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/charts/incubator/somfyprotect2mqtt](https://truecharts.org/charts/incubator/somfyprotect2mqtt)
---
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!

View File

@ -0,0 +1,60 @@
image:
repository: tccr.io/truecharts/somfyprotect2mqtt
pullPolicy: IfNotPresent
tag: v0.2.9@sha256:96adf01880eb7569f86cc8b0637c9d0f2504df29ca336ba76456111c19c0c874
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
somfyprotect2mqtt:
somfy:
username: admin
password: password
sites: ["Maison"]
ha:
alarm_code: 1234
alarm_code_arm_required: false
alarm_code_disarm_required: true
mqtt:
host: "0.0.0.0"
port: 1883
username: admin
password: password
client_id: client_id
topic_prefix: somfyProtect2mqtt
ha_discover_prefix: homeassistant
delay_site: 10
delay_device: 60
manual_snapshot: false
service:
main:
enabled: false
ports:
main:
enabled: false
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
persistence:
configfile:
enabled: true
type: secret
readOnly: true
defaultMode: "0600"
objectName: '{{ include "tc.common.names.fullname" . }}-secret'
mountPath: /config/config.yaml
subPath: config.yaml
portal:
enabled: false

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,46 @@
{{/* Define the secret */}}
{{- define "somfyprotect2mqtt.secret" -}}
{{- $secretName := printf "%s-secret" (include "tc.common.names.fullname" .) }}
{{- $secretStorageName := printf "%s-storage-secret" (include "tc.common.names.fullname" .) }}
{{- $sp2mqtt := .Values.somfyprotect2mqtt }}
---
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: {{ $secretName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
stringData:
config.yaml: |
somfy_protect:
username: {{ $sp2mqtt.somfy.username | quote }}
password: {{ $sp2mqtt.somfy.password | quote }}
{{- with $sp2mqtt.somfy.sites }}
sites:
{{- range $site := . }}
- {{ . | quote }}
{{- end }}
{{- end }}
homeassistant_config:
code: {{ $sp2mqtt.ha.alarm_code }}
code_arm_required: {{ ternary "true" "false" $sp2mqtt.ha.alarm_code_arm_required }}
code_disarm_required: {{ ternary "true" "false" $sp2mqtt.ha.alarm_code_disarm_required }}
mqtt:
host: {{ $sp2mqtt.mqtt.host | quote }}
port: {{ $sp2mqtt.mqtt.port | quote }}
username: {{ $sp2mqtt.mqtt.username | quote }}
password: {{ $sp2mqtt.mqtt.password | quote }}
client-id: {{ $sp2mqtt.mqtt.client_id | quote }}
topic_prefix: {{ $sp2mqtt.mqtt.topic_prefix | quote }}
ha_discover_prefix: {{ $sp2mqtt.mqtt.ha_discover_prefix | quote }}
delay_site: {{ $sp2mqtt.delay_site | quote }}
delay_device: {{ $sp2mqtt.delay_device | quote }}
manual_snapshot: {{ ternary "true" "false" $sp2mqtt.manual_snapshot }}
{{- end -}}

View File

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

View File

@ -0,0 +1,5 @@
icon_url: https://truecharts.org/img/hotlink-ok/chart-icons/somfyprotect2mqtt.png
categories:
- homeautomation
- mqtt