Compare commits

..

27 Commits

Author SHA1 Message Date
dccc527ba0 .gitea/workflows/build.yml aktualisiert 2025-06-21 09:52:21 +00:00
735b5c496b Chart.yaml aktualisiert
All checks were successful
Build Helm Chart / helm-package (push) Successful in 5s
2025-02-20 18:52:22 +00:00
fdebe39f42 Chart.yaml aktualisiert
All checks were successful
Build Helm Chart / helm-package (push) Successful in 6s
2025-02-20 18:35:49 +00:00
852d786d4e Chart.yaml aktualisiert
All checks were successful
Build Helm Chart / helm-package (push) Successful in 33s
2025-02-20 18:33:48 +00:00
8565a3eaa1 Chart.yaml aktualisiert
All checks were successful
Build Helm Chart / helm-package (push) Successful in 5s
2025-02-19 06:18:50 +00:00
27bb799a27 templates/deployment.yaml aktualisiert 2025-02-19 06:18:35 +00:00
d62ec6437b Chart.yaml aktualisiert
Some checks failed
Build Helm Chart / helm-package (push) Failing after 4s
2025-02-19 06:07:13 +00:00
c5fbadd872 templates/deployment.yaml aktualisiert 2025-02-19 06:06:12 +00:00
2255be7293 Chart.yaml aktualisiert
Some checks failed
Build Helm Chart / helm-package (push) Failing after 8s
2025-02-19 06:04:06 +00:00
a984c2763f add extraPorts support 2024-10-12 09:02:35 +02:00
9ac5be6ce1 Chart.yaml aktualisiert
All checks were successful
Build Helm Chart / helm-package (push) Successful in 6s
2024-10-11 09:52:17 +00:00
04cd2dea41 change volumeMount 2024-10-11 11:51:49 +02:00
ba7f0d8240 Chart.yaml aktualisiert
All checks were successful
Build Helm Chart / helm-package (push) Successful in 6s
2024-10-11 09:40:12 +00:00
9f24e76e3c test 2024-10-11 11:38:52 +02:00
864497044b Chart.yaml aktualisiert
All checks were successful
Build Helm Chart / helm-package (push) Successful in 6s
2024-10-11 09:17:22 +00:00
7dd5c75450 fix yaml parse error 2024-10-11 11:16:53 +02:00
aa8f142c4f Chart.yaml aktualisiert
All checks were successful
Build Helm Chart / helm-package (push) Successful in 5s
2024-10-11 08:58:52 +00:00
a7deaf6ba6 Chart.yaml aktualisiert
All checks were successful
Build Helm Chart / helm-package (push) Successful in 6s
2024-10-11 08:55:55 +00:00
e3fa6da4ce templates/secret.yaml aktualisiert 2024-10-11 08:55:14 +00:00
b78fb6a3b2 Chart.yaml aktualisiert
All checks were successful
Build Helm Chart / helm-package (push) Successful in 6s
2024-10-11 08:52:01 +00:00
ce285350b2 fix error 2024-10-11 10:51:32 +02:00
5ef787d996 Chart.yaml aktualisiert
All checks were successful
Build Helm Chart / helm-package (push) Successful in 7s
2024-10-11 08:33:35 +00:00
063677d018 .gitea/workflows/build.yml aktualisiert 2024-10-11 08:24:02 +00:00
deebb57ba1 Chart.yaml aktualisiert
Some checks are pending
Build Helm Chart / helm-package (push) Waiting to run
2024-10-11 08:14:42 +00:00
da2fcb5333 .gitea/workflows/build.yml aktualisiert 2024-10-11 08:08:54 +00:00
4b1985fe4b Merge pull request 'Chart.yaml aktualisiert' (#2) from marko-patch-1 into main
Reviewed-on: #2
2024-10-11 08:07:44 +00:00
26f8aa043f Chart.yaml aktualisiert
Some checks are pending
Build Helm Chart / helm-package (pull_request) Waiting to run
2024-10-11 08:07:34 +00:00
5 changed files with 26 additions and 15 deletions

View File

@ -1,11 +1,10 @@
name: "Build Helm Chart" name: "Build Helm Chart"
on: on:
pull_request: push:
branches: branches:
- main - main
paths: paths:
- "Chart.yaml" - "Chart.yaml"
jobs: jobs:
helm-package: helm-package:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -26,7 +25,8 @@ jobs:
- name: Setup Helm - name: Setup Helm
run: | run: |
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash #curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
curl -kSso /usr/local/bin/helm https://debmirror.cooltux.net/helm-v3.18.3 && chmod +x /usr/local/bin/helm
helm version helm version
- name: Package Helm Chart - name: Package Helm Chart

View File

@ -21,5 +21,5 @@ annotations:
category: Houseautomation category: Houseautomation
licenses: GPL'd licenses: GPL'd
type: application type: application
version: 1.0.3 version: 1.1.0
appVersion: "4.0.5-bullseye" appVersion: "5.0.0-bullseye"

View File

@ -44,6 +44,16 @@ spec:
- name: telnet - name: telnet
containerPort: {{ .Values.telnetport }} containerPort: {{ .Values.telnetport }}
protocol: TCP protocol: TCP
{{- if .Values.service.extraPorts }}
{{- range $servicePort := .Values.service.extraPorts }}
- name: {{ $servicePort.name }}
containerPort: {{ $servicePort.targetPort }}
{{- if $servicePort.protocol }}
protocol: {{ $servicePort.protocol }}
{{- end }}
{{- end }}
{{- end }}
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /fhem path: /fhem
@ -54,12 +64,16 @@ spec:
path: /fhem path: /fhem
port: fhemweb port: fhemweb
volumeMounts: volumeMounts:
{{- if .Values.persistence.enabled }}
- name: fhem-data - name: fhem-data
mountPath: /opt/fhem mountPath: /opt/fhem
subPath: fhem/ subPath: fhem/
{{- end }}
{{- if eq .Values.configtype "configDB" }}
- name: configdb-volume - name: configdb-volume
mountPath: /opt/fhem/configDB.conf mountPath: /opt/fhem/configDB.conf
subPath: fhem/configDB.conf subPath: configDB.conf
{{- end }}
resources: resources:
{{- toYaml .Values.resources | nindent 12 }} {{- toYaml .Values.resources | nindent 12 }}
env: env:

View File

@ -7,9 +7,5 @@ metadata:
app: {{ .Release.Name }} app: {{ .Release.Name }}
type: Opaque type: Opaque
data: data:
configDB.conf: | configDB.conf: {{ printf "%%dbconfig= (\n connection => '%s',\n user => '%s',\n password => '%s'\n);" .Values.dbConfig.connection .Values.dbConfig.user .Values.dbConfig.password | b64enc }}
{{- $connection := .Values.dbConfig.connection | quote }}
{{- $user := .Values.dbConfig.user | quote }}
{{- $password := .Values.dbConfig.password | quote }}
{{- printf "%%dbconfig= (\n connection => \"%s\",\n user => \"%s\",\n password => \"%s\"\n);" $connection $user $password | b64enc }}
{{- end }} {{- end }}

View File

@ -26,7 +26,8 @@ spec:
nodePort: {{ .Values.service.nodePorts.fhemweb }} nodePort: {{ .Values.service.nodePorts.fhemweb }}
{{- end }} {{- end }}
{{- if .Values.service.extraPorts }} {{- if .Values.service.extraPorts }}
{{- include "common.tplvalues.render" (dict "value" .Values.service.extraPorts "context" $) | nindent 4 }} {{- toYaml .Values.service.extraPorts | nindent 2 }}
{{- end }} {{- end }}
selector: selector:
{{- include "fhem.selectorLabels" . | nindent 4 }} {{- include "fhem.selectorLabels" . | nindent 4 }}