You've already forked homeassistant-charts
Compare commits
1 Commits
master
...
2373751e83
| Author | SHA1 | Date | |
|---|---|---|---|
| 2373751e83 |
22
.drone.yml
22
.drone.yml
@@ -3,21 +3,15 @@ kind: pipeline
|
|||||||
type: kubernetes
|
type: kubernetes
|
||||||
name: linter
|
name: linter
|
||||||
|
|
||||||
clone:
|
|
||||||
disable: true
|
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
|
||||||
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.19.0
|
image: docker.io/volkerraschek/helm:3.10.2
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 50
|
cpu: 50
|
||||||
@@ -26,7 +20,7 @@ steps:
|
|||||||
- name: markdown lint
|
- name: markdown lint
|
||||||
commands:
|
commands:
|
||||||
- markdownlint *.md
|
- markdownlint *.md
|
||||||
image: git.cryptic.systems/volker.raschek/markdownlint:0.45.0
|
image: docker.io/volkerraschek/markdownlint:0.33.0
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 150
|
cpu: 150
|
||||||
@@ -35,7 +29,7 @@ steps:
|
|||||||
- name: helm template
|
- name: helm template
|
||||||
commands:
|
commands:
|
||||||
- helm template .
|
- helm template .
|
||||||
image: git.cryptic.systems/volker.raschek/helm:3.19.0
|
image: docker.io/volkerraschek/helm:3.10.2
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 150
|
cpu: 150
|
||||||
@@ -53,7 +47,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.2.0
|
image: docker.io/volkerraschek/drone-email:0.1.1
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 150
|
cpu: 150
|
||||||
@@ -73,16 +67,10 @@ kind: pipeline
|
|||||||
type: kubernetes
|
type: kubernetes
|
||||||
name: release
|
name: release
|
||||||
|
|
||||||
clone:
|
|
||||||
disable: true
|
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
|
||||||
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
|
||||||
|
|
||||||
- name: release-helm-chart
|
- name: release-helm-chart
|
||||||
commands:
|
commands:
|
||||||
- helm repo add volker.raschek https://charts.cryptic.systems/volker.raschek
|
- helm repo add volker.raschek https://charts.cryptic.systems/volker.raschek
|
||||||
@@ -93,7 +81,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.19.0
|
image: docker.io/volkerraschek/helm:3.10.2
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 150
|
cpu: 150
|
||||||
|
|||||||
@@ -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: 120
|
line_length: 80
|
||||||
# Number of characters for headings
|
# Number of characters for headings
|
||||||
heading_line_length: 120
|
heading_line_length: 80
|
||||||
# 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,6 +56,8 @@ 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
|
||||||
@@ -71,7 +73,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
|
||||||
siblings_only: true
|
allow_different_nesting: 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:
|
||||||
@@ -126,21 +128,8 @@ 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:
|
||||||
- Git
|
# - drone
|
||||||
- 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
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
.github/
|
|
||||||
Chart.lock
|
|
||||||
charts/
|
|
||||||
node_modules/
|
|
||||||
@@ -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.12.4"
|
appVersion: "2023.1.1"
|
||||||
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:
|
||||||
|
|||||||
21
README.md
21
README.md
@@ -1,10 +1,12 @@
|
|||||||
# homeassistant-charts
|
# homeassistant-charts
|
||||||
|
|
||||||
|
[](https://drone.cryptic.systems/volker.raschek/homeassistant-charts)
|
||||||
[](https://artifacthub.io/packages/search?repo=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 can be installed via helm.
|
This helm chart can be found on [artifacthub.io](https://artifacthub.io/) and
|
||||||
|
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
|
||||||
@@ -15,13 +17,16 @@ helm install homeassistant volker.raschek/homeassistant
|
|||||||
|
|
||||||
### Mountpoints
|
### Mountpoints
|
||||||
|
|
||||||
As default all configuration and media files will be stored inside the container filesystem. Inside the `values.yaml`
|
As default all configuration and media files will be stored inside the container
|
||||||
files the sections `volumes` and `volumeMounts` to mount additional volumes inside the container. For example to mount
|
filesystem. Inside the `values.yaml` files the sections `volumes` and
|
||||||
the directories containing configuration and media files on separate mountpoints. The `values.yaml` contains also some
|
`volumeMounts` to mount additional volumes inside the container. For example to
|
||||||
examples to mount the directories inside the host filesystem.
|
mount the directories containing configuration and media files on separate
|
||||||
|
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 network filesystem like nfs, it is
|
The application use as backend a sqlite database. If the database is stored on a
|
||||||
quite possible that the application lacks or is unusable, because sqlite is not designed to be used as a database
|
network filesystem like nfs, it is quite possible that the application lacks or
|
||||||
accesses over network.
|
is unusable, because sqlite is not designed to be used as a database accesses
|
||||||
|
over network.
|
||||||
|
|||||||
@@ -1,14 +1,28 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": [
|
"automergeStrategy": "merge-commit",
|
||||||
"local>volker.raschek/renovate-config:default#master",
|
"automergeType": "pr",
|
||||||
"local>volker.raschek/renovate-config:container#master",
|
"assignees": [ "volker.raschek" ],
|
||||||
"local>volker.raschek/renovate-config:actions#master",
|
"labels": [ "renovate" ],
|
||||||
"local>volker.raschek/renovate-config:npm#master",
|
"packageRules": [
|
||||||
"local>volker.raschek/renovate-config:regexp#master"
|
|
||||||
],
|
|
||||||
"customManagers": [
|
|
||||||
{
|
{
|
||||||
|
"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",
|
||||||
|
"rebaseWhen": "behind-base-branch",
|
||||||
|
"regexManagers": [
|
||||||
|
{
|
||||||
|
"description": "Update container image reference",
|
||||||
"fileMatch": [
|
"fileMatch": [
|
||||||
"^Chart\\.yaml$"
|
"^Chart\\.yaml$"
|
||||||
],
|
],
|
||||||
@@ -16,53 +30,8 @@
|
|||||||
"appVersion: \"(?<currentValue>.*?)\"\\s+"
|
"appVersion: \"(?<currentValue>.*?)\"\\s+"
|
||||||
],
|
],
|
||||||
"datasourceTemplate": "docker",
|
"datasourceTemplate": "docker",
|
||||||
"depNameTemplate": "homeassistant/home-assistant",
|
"depNameTemplate": "homeassistant",
|
||||||
"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"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -48,10 +48,9 @@ spec:
|
|||||||
{{- toYaml .Values.resources | nindent 12 }}
|
{{- toYaml .Values.resources | nindent 12 }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||||
{{- if .Values.persistentStorage.enabled }}
|
{{- with .Values.volumeMounts }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
{{- toYaml . | nindent 8 }}
|
||||||
mountPath: /config
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.imagePullSecrets }}
|
{{- with .Values.imagePullSecrets }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
@@ -70,15 +69,7 @@ spec:
|
|||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.persistentStorage.enabled }}
|
|
||||||
volumes:
|
volumes:
|
||||||
{{- if .Values.persistentStorage.existingClaim }}
|
{{- with .Values.volumes }}
|
||||||
- name: config
|
{{- toYaml . | nindent 6 }}
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: {{ .Values.persistentStorage.existingClaim }}
|
|
||||||
{{- else }}
|
|
||||||
- name: config
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: {{ include "homeassistant.fullname" . }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -1,24 +0,0 @@
|
|||||||
{{- 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 }}
|
|
||||||
18
values.yaml
18
values.yaml
@@ -37,14 +37,6 @@ ingress:
|
|||||||
|
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
persistentStorage:
|
|
||||||
enabled: false
|
|
||||||
existingClaim: ""
|
|
||||||
annotations: {}
|
|
||||||
labels: {}
|
|
||||||
storageClass:
|
|
||||||
size: 15Gi
|
|
||||||
|
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
|
|
||||||
podPriorityClassName: ""
|
podPriorityClassName: ""
|
||||||
@@ -78,3 +70,13 @@ service:
|
|||||||
port: 8123
|
port: 8123
|
||||||
|
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
|
||||||
|
volumeMounts: []
|
||||||
|
# - name: config
|
||||||
|
# mountPath: /config
|
||||||
|
|
||||||
|
volumes: []
|
||||||
|
# - name: config
|
||||||
|
# hostPath:
|
||||||
|
# path: /etc/homeassistant
|
||||||
|
# type: DirectoryOrCreate
|
||||||
|
|||||||
Reference in New Issue
Block a user