Compare commits

..

39 Commits

Author SHA1 Message Date
c12a809bb3 chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v4 2025-11-12 23:07:40 +00:00
ad6296a04f Merge pull request 'chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v3.19.2' (#70) from renovate/container-images into master 2025-11-12 21:16:46 +00:00
bf5a9b3b9e chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v3.19.2 2025-11-12 21:16:42 +00:00
be1824a06f docs(README): set line length to 120 2025-10-13 07:32:10 +02:00
9c4c8396a2 Merge pull request 'chore(deps): update container images' (#67) from renovate/container-images into master 2025-10-13 05:30:14 +00:00
84395b5522 chore(deps): update container images 2025-09-21 13:06:46 +00:00
f82210da9e fix(renovate): use presets 2025-08-25 19:14:05 +02:00
1a0c450ee4 chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.45.0 2025-08-10 19:07:33 +00:00
781e5ab795 docs(README): remove drone badge 2025-06-01 12:44:33 +02:00
18435569dd chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.44.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-04-01 17:12:56 +00:00
daf70aeb5c chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v3.17.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-03-30 19:19:02 +00:00
2d899e497c chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v3.16.4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-12-17 11:17:44 +00:00
7d8e1a0eed chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.43.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-12-03 14:21:18 +00:00
77010fdf20 chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v3.16.3
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-12-02 11:17:13 +00:00
9c9821609a chore(deps): update git.cryptic.systems/volker.raschek/git docker tag to v1.4.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-11-25 23:20:22 +00:00
b868bf7b0e chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.42.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-10-14 19:21:04 +00:00
bad569eb25 chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v3.16.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-09-16 16:19:49 +00:00
644a7a2a94 chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v3.15.4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-08-15 10:11:21 +00:00
40b44c11d2 fix: mount volume correctly
Some checks reported errors
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build was killed
2024-07-22 18:27:18 +02:00
6c753b38c5 chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.41.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-05-27 13:26:04 +00:00
bdcecd1af0 chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v3.15.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-05-16 10:06:56 +00:00
84d1807608 chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.40.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-05-07 23:58:32 +00:00
52b4034079 chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v3.14.4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-04-11 07:12:45 +00:00
4669713a59 chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v3.14.3
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-03-22 20:05:58 +01:00
6b184b950f chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v3.14.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-02-23 11:10:25 +00:00
a931a11980 chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v3.14.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-02-15 19:06:26 +01:00
f4a7c80425 chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.39.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-01-28 23:36:10 +01:00
dfb5535b16 fix(renovate): remove automerge options
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-21 14:42:50 +01:00
d4f4df700d Merge pull request 'chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v3.14.0' (#35) from renovate/git.cryptic.systems-volker.raschek-helm-3.x into master
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-21 11:13:03 +00:00
b6f0f2a6fc chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v3.14.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-01-21 11:12:25 +00:00
8c83884691 Update dependency homeassistant to v2023.12.4
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-07 15:23:06 +01:00
8d7d4e7034 Update dependency homeassistant to v2023.11.3 2024-01-07 15:22:35 +01:00
852bea664c chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v3.13.3
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-12-14 12:20:37 +01:00
457c3577cc chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.38.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-12-09 15:35:39 +01:00
e8cd20b9f5 fix: add persistent volume claim
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-09 17:42:39 +01:00
e2ebfb3943 chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v3.13.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-11-09 17:21:31 +01:00
014a4c8600 Update dependency homeassistant to v2023.10.5
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-09 17:15:07 +01:00
ee8f9e2e8e Update dependency homeassistant to v2023.9.3 2023-11-09 17:14:26 +01:00
680077d71f Update dependency homeassistant to v2023.8.4
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-09 17:13:48 +01:00
9 changed files with 138 additions and 66 deletions

View File

@@ -12,12 +12,12 @@ platform:
steps: steps:
- name: clone - name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.1 image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: helm lint - name: helm lint
commands: commands:
- helm lint - helm lint
image: git.cryptic.systems/volker.raschek/helm:3.13.1 image: git.cryptic.systems/volker.raschek/helm:4.0.0
resources: resources:
limits: limits:
cpu: 50 cpu: 50
@@ -26,7 +26,7 @@ steps:
- name: markdown lint - name: markdown lint
commands: commands:
- markdownlint *.md - markdownlint *.md
image: git.cryptic.systems/volker.raschek/markdownlint:0.37.0 image: git.cryptic.systems/volker.raschek/markdownlint:0.45.0
resources: resources:
limits: limits:
cpu: 150 cpu: 150
@@ -35,7 +35,7 @@ steps:
- name: helm template - name: helm template
commands: commands:
- helm template . - helm template .
image: git.cryptic.systems/volker.raschek/helm:3.13.1 image: git.cryptic.systems/volker.raschek/helm:4.0.0
resources: resources:
limits: limits:
cpu: 150 cpu: 150
@@ -53,7 +53,7 @@ steps:
from_secret: smtp_username from_secret: smtp_username
SMTP_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5 image: git.cryptic.systems/volker.raschek/drone-email:0.2.0
resources: resources:
limits: limits:
cpu: 150 cpu: 150
@@ -81,7 +81,7 @@ platform:
steps: steps:
- name: clone - name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.1 image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: release-helm-chart - name: release-helm-chart
commands: commands:
@@ -93,7 +93,7 @@ steps:
from_secret: helm_repo_password from_secret: helm_repo_password
HELM_REPO_USERNAME: HELM_REPO_USERNAME:
from_secret: helm_repo_username from_secret: helm_repo_username
image: git.cryptic.systems/volker.raschek/helm:3.13.1 image: git.cryptic.systems/volker.raschek/helm:4.0.0
resources: resources:
limits: limits:
cpu: 150 cpu: 150

View File

@@ -45,9 +45,9 @@ MD012:
# MD013/line-length - Line length # MD013/line-length - Line length
MD013: MD013:
# Number of characters # Number of characters
line_length: 80 line_length: 120
# Number of characters for headings # Number of characters for headings
heading_line_length: 80 heading_line_length: 120
# Number of characters for code blocks # Number of characters for code blocks
code_block_line_length: 80 code_block_line_length: 80
# Include code blocks # Include code blocks
@@ -56,8 +56,6 @@ MD013:
tables: false tables: false
# Include headings # Include headings
headings: true headings: true
# Include headings
headers: true
# Strict length checking # Strict length checking
strict: false strict: false
# Stern length checking # Stern length checking
@@ -73,7 +71,7 @@ MD022:
# MD024/no-duplicate-heading/no-duplicate-header - Multiple headings with the same content # MD024/no-duplicate-heading/no-duplicate-header - Multiple headings with the same content
MD024: MD024:
# Only check sibling headings # Only check sibling headings
allow_different_nesting: true siblings_only: true
# MD025/single-title/single-h1 - Multiple top-level headings in the same document # MD025/single-title/single-h1 - Multiple top-level headings in the same document
MD025: MD025:
@@ -128,8 +126,21 @@ MD041:
# MD044/proper-names - Proper names should have the correct capitalization # MD044/proper-names - Proper names should have the correct capitalization
MD044: MD044:
# List of proper names # List of proper names
# names: names:
# - drone - Git
- GitDevOps
- Gitea
- GitHub
- GitLab
- GitOps
- kube-prometheus-stack
- Memcached
- Oracle
- PostgreSQL
- Prometheus
- prometheus-exporter
- SSL
- TLS
# Include code blocks # Include code blocks
code_blocks: false code_blocks: false

4
.markdownlintignore Normal file
View File

@@ -0,0 +1,4 @@
.github/
Chart.lock
charts/
node_modules/

View File

@@ -3,7 +3,7 @@ name: homeassistant
description: Helm chart for homeassistant description: Helm chart for homeassistant
type: application type: application
version: "0.1.0" version: "0.1.0"
appVersion: "2023.7.3" appVersion: "2023.12.4"
icon: https://upload.wikimedia.org/wikipedia/commons/6/6e/Home_Assistant_Logo.svg icon: https://upload.wikimedia.org/wikipedia/commons/6/6e/Home_Assistant_Logo.svg
keywords: keywords:

View File

@@ -1,12 +1,10 @@
# homeassistant-charts # homeassistant-charts
[![Build Status](https://drone.cryptic.systems/api/badges/volker.raschek/homeassistant-charts/status.svg)](https://drone.cryptic.systems/volker.raschek/homeassistant-charts)
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/volker-raschek)](https://artifacthub.io/packages/search?repo=volker-raschek) [![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/volker-raschek)](https://artifacthub.io/packages/search?repo=volker-raschek)
This is a helm chart for [homeassistant](https://github.com/morpheus65535/homeassistant/). This is a helm chart for [homeassistant](https://github.com/morpheus65535/homeassistant/).
This helm chart can be found on [artifacthub.io](https://artifacthub.io/) and This helm chart can be found on [artifacthub.io](https://artifacthub.io/) and can be installed via helm.
can be installed via helm.
```bash ```bash
helm repo add volker.raschek https://charts.cryptic.systems/volker.raschek helm repo add volker.raschek https://charts.cryptic.systems/volker.raschek
@@ -17,16 +15,13 @@ helm install homeassistant volker.raschek/homeassistant
### Mountpoints ### Mountpoints
As default all configuration and media files will be stored inside the container As default all configuration and media files will be stored inside the container filesystem. Inside the `values.yaml`
filesystem. Inside the `values.yaml` files the sections `volumes` and files the sections `volumes` and `volumeMounts` to mount additional volumes inside the container. For example to mount
`volumeMounts` to mount additional volumes inside the container. For example to the directories containing configuration and media files on separate mountpoints. The `values.yaml` contains also some
mount the directories containing configuration and media files on separate examples to mount the directories inside the host filesystem.
mountpoints. The `values.yaml` contains also some examples to mount the
directories inside the host filesystem.
#### Troubleshooting #### Troubleshooting
The application use as backend a sqlite database. If the database is stored on a The application use as backend a sqlite database. If the database is stored on a network filesystem like nfs, it is
network filesystem like nfs, it is quite possible that the application lacks or quite possible that the application lacks or is unusable, because sqlite is not designed to be used as a database
is unusable, because sqlite is not designed to be used as a database accesses accesses over network.
over network.

View File

@@ -1,28 +1,14 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"automergeStrategy": "merge-commit", "extends": [
"automergeType": "pr", "local>volker.raschek/renovate-config:default#master",
"assignees": [ "volker.raschek" ], "local>volker.raschek/renovate-config:container#master",
"labels": [ "renovate" ], "local>volker.raschek/renovate-config:actions#master",
"packageRules": [ "local>volker.raschek/renovate-config:npm#master",
{ "local>volker.raschek/renovate-config:regexp#master"
"addLabels": [ "renovate/homeassistant", "renovate/automerge" ],
"automerge": true,
"matchManagers": "droneci",
"matchUpdateTypes": [ "minor", "patch"]
},
{
"addLabels": [ "renovate/homeassistant", "renovate/automerge" ],
"automerge": false,
"matchPackageNames": [ "homeassistant" ],
"matchManagers": [ "regex" ]
}
], ],
"rebaseLabel": "renovate/rebase", "customManagers": [
"rebaseWhen": "behind-base-branch",
"regexManagers": [
{ {
"description": "Update container image reference",
"fileMatch": [ "fileMatch": [
"^Chart\\.yaml$" "^Chart\\.yaml$"
], ],
@@ -30,8 +16,53 @@
"appVersion: \"(?<currentValue>.*?)\"\\s+" "appVersion: \"(?<currentValue>.*?)\"\\s+"
], ],
"datasourceTemplate": "docker", "datasourceTemplate": "docker",
"depNameTemplate": "homeassistant", "depNameTemplate": "homeassistant/home-assistant",
"lookupNameTemplate": "docker.io/homeassistant/home-assistant" "lookupNameTemplate": "docker.io/homeassistant/home-assistant",
"versioningTemplate": "semver"
},
{
"fileMatch": ["^README\\.md$"],
"matchStrings": [
"CHART_VERSION=(?<currentValue>.*)"
],
"depNameTemplate": "volker.raschek/homeassistant-charts",
"packageNameTemplate": "https://git.cryptic.systems/volker.raschek/homeassistant-charts",
"datasourceTemplate": "git-tags",
"versioningTemplate": "semver"
}
],
"packageRules": [
{
"addLabels": [
"renovate/automerge",
"renovate/container"
],
"automerge": true,
"excludePackagePatterns": [
"homeassistant/home-assistant"
],
"matchDatasources": [
"docker"
],
"matchUpdateTypes": [
"minor",
"patch"
]
},
{
"addLabels": [
"renovate/automerge",
"renovate/documentation"
],
"automerge": true,
"matchDepNames": [
"volker.raschek/homeassistant-charts"
],
"matchUpdateTypes": [
"major",
"minor",
"patch"
]
} }
] ]
} }

View File

@@ -48,9 +48,10 @@ spec:
{{- toYaml .Values.resources | nindent 12 }} {{- toYaml .Values.resources | nindent 12 }}
securityContext: securityContext:
{{- toYaml .Values.securityContext | nindent 12 }} {{- toYaml .Values.securityContext | nindent 12 }}
{{- with .Values.volumeMounts }} {{- if .Values.persistentStorage.enabled }}
volumeMounts: volumeMounts:
{{- toYaml . | nindent 8 }} - name: config
mountPath: /config
{{- end }} {{- end }}
{{- with .Values.imagePullSecrets }} {{- with .Values.imagePullSecrets }}
imagePullSecrets: imagePullSecrets:
@@ -69,7 +70,15 @@ spec:
tolerations: tolerations:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
{{- if .Values.persistentStorage.enabled }}
volumes: volumes:
{{- with .Values.volumes }} {{- if .Values.persistentStorage.existingClaim }}
{{- toYaml . | nindent 6 }} - name: config
persistentVolumeClaim:
claimName: {{ .Values.persistentStorage.existingClaim }}
{{- else }}
- name: config
persistentVolumeClaim:
claimName: {{ include "homeassistant.fullname" . }}
{{- end }}
{{- end }} {{- end }}

View File

@@ -0,0 +1,24 @@
{{- if .Values.persistentStorage.enabled }}
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
{{- with .Values.persistentStorage.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
name: {{ include "homeassistant.fullname" . }}
labels:
{{- include "homeassistant.labels" . | nindent 4 }}
{{- with .Values.persistentStorage.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
accessModes:
- ReadWriteOnce
{{- if .Values.persistentStorage.storageClass }}
storageClassName: {{ .Values.persistentStorage.storageClass }}
{{- end }}
resources:
requests:
storage: {{ required "Require size of persistent volume claim" .Values.persistentStorage.size }}
{{- end }}

View File

@@ -37,6 +37,14 @@ ingress:
nodeSelector: {} nodeSelector: {}
persistentStorage:
enabled: false
existingClaim: ""
annotations: {}
labels: {}
storageClass:
size: 15Gi
podAnnotations: {} podAnnotations: {}
podPriorityClassName: "" podPriorityClassName: ""
@@ -70,13 +78,3 @@ service:
port: 8123 port: 8123
tolerations: [] tolerations: []
volumeMounts: []
# - name: config
# mountPath: /config
volumes: []
# - name: config
# hostPath:
# path: /etc/homeassistant
# type: DirectoryOrCreate