You've already forked homeassistant-charts
Compare commits
31 Commits
0.1.13
...
renovate/c
Author | SHA1 | Date | |
---|---|---|---|
15ae5a819c
|
|||
f82210da9e
|
|||
1a0c450ee4
|
|||
781e5ab795
|
|||
18435569dd
|
|||
daf70aeb5c
|
|||
2d899e497c
|
|||
7d8e1a0eed
|
|||
77010fdf20
|
|||
9c9821609a
|
|||
b868bf7b0e
|
|||
bad569eb25
|
|||
644a7a2a94
|
|||
40b44c11d2
|
|||
6c753b38c5
|
|||
bdcecd1af0
|
|||
84d1807608
|
|||
52b4034079
|
|||
4669713a59 | |||
6b184b950f
|
|||
a931a11980 | |||
f4a7c80425 | |||
dfb5535b16
|
|||
d4f4df700d | |||
b6f0f2a6fc | |||
8c83884691
|
|||
8d7d4e7034
|
|||
852bea664c | |||
457c3577cc | |||
e8cd20b9f5
|
|||
e2ebfb3943 |
14
.drone.yml
14
.drone.yml
@ -12,12 +12,12 @@ platform:
|
||||
|
||||
steps:
|
||||
- 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
|
||||
commands:
|
||||
- helm lint
|
||||
image: git.cryptic.systems/volker.raschek/helm:3.13.1
|
||||
image: git.cryptic.systems/volker.raschek/helm:3.18.5
|
||||
resources:
|
||||
limits:
|
||||
cpu: 50
|
||||
@ -26,7 +26,7 @@ steps:
|
||||
- name: markdown lint
|
||||
commands:
|
||||
- markdownlint *.md
|
||||
image: git.cryptic.systems/volker.raschek/markdownlint:0.37.0
|
||||
image: git.cryptic.systems/volker.raschek/markdownlint:0.45.0
|
||||
resources:
|
||||
limits:
|
||||
cpu: 150
|
||||
@ -35,7 +35,7 @@ steps:
|
||||
- name: helm template
|
||||
commands:
|
||||
- helm template .
|
||||
image: git.cryptic.systems/volker.raschek/helm:3.13.1
|
||||
image: git.cryptic.systems/volker.raschek/helm:3.18.5
|
||||
resources:
|
||||
limits:
|
||||
cpu: 150
|
||||
@ -53,7 +53,7 @@ steps:
|
||||
from_secret: smtp_username
|
||||
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:
|
||||
limits:
|
||||
cpu: 150
|
||||
@ -81,7 +81,7 @@ platform:
|
||||
|
||||
steps:
|
||||
- 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
|
||||
commands:
|
||||
@ -93,7 +93,7 @@ steps:
|
||||
from_secret: helm_repo_password
|
||||
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:3.18.5
|
||||
resources:
|
||||
limits:
|
||||
cpu: 150
|
||||
|
@ -3,7 +3,7 @@ name: homeassistant
|
||||
description: Helm chart for homeassistant
|
||||
type: application
|
||||
version: "0.1.0"
|
||||
appVersion: "2023.10.5"
|
||||
appVersion: "2023.12.4"
|
||||
icon: https://upload.wikimedia.org/wikipedia/commons/6/6e/Home_Assistant_Logo.svg
|
||||
|
||||
keywords:
|
||||
|
@ -1,6 +1,5 @@
|
||||
# homeassistant-charts
|
||||
|
||||
[](https://drone.cryptic.systems/volker.raschek/homeassistant-charts)
|
||||
[](https://artifacthub.io/packages/search?repo=volker-raschek)
|
||||
|
||||
This is a helm chart for [homeassistant](https://github.com/morpheus65535/homeassistant/).
|
||||
|
@ -1,28 +1,14 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"automergeStrategy": "merge-commit",
|
||||
"automergeType": "pr",
|
||||
"assignees": [ "volker.raschek" ],
|
||||
"labels": [ "renovate" ],
|
||||
"packageRules": [
|
||||
{
|
||||
"addLabels": [ "renovate/homeassistant", "renovate/automerge" ],
|
||||
"automerge": true,
|
||||
"matchManagers": "droneci",
|
||||
"matchUpdateTypes": [ "minor", "patch"]
|
||||
},
|
||||
{
|
||||
"addLabels": [ "renovate/homeassistant", "renovate/automerge" ],
|
||||
"automerge": false,
|
||||
"matchPackageNames": [ "homeassistant" ],
|
||||
"matchManagers": [ "regex" ]
|
||||
}
|
||||
"extends": [
|
||||
"local>volker.raschek/renovate-config:default#master",
|
||||
"local>volker.raschek/renovate-config:container#master",
|
||||
"local>volker.raschek/renovate-config:actions#master",
|
||||
"local>volker.raschek/renovate-config:npm#master",
|
||||
"local>volker.raschek/renovate-config:regexp#master"
|
||||
],
|
||||
"rebaseLabel": "renovate/rebase",
|
||||
"rebaseWhen": "behind-base-branch",
|
||||
"regexManagers": [
|
||||
"customManagers": [
|
||||
{
|
||||
"description": "Update container image reference",
|
||||
"fileMatch": [
|
||||
"^Chart\\.yaml$"
|
||||
],
|
||||
@ -30,8 +16,53 @@
|
||||
"appVersion: \"(?<currentValue>.*?)\"\\s+"
|
||||
],
|
||||
"datasourceTemplate": "docker",
|
||||
"depNameTemplate": "homeassistant",
|
||||
"lookupNameTemplate": "docker.io/homeassistant/home-assistant"
|
||||
"depNameTemplate": "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,9 +48,10 @@ spec:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
securityContext:
|
||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||
{{- with .Values.volumeMounts }}
|
||||
{{- if .Values.persistentStorage.enabled }}
|
||||
volumeMounts:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
- name: config
|
||||
mountPath: /config
|
||||
{{- end }}
|
||||
{{- with .Values.imagePullSecrets }}
|
||||
imagePullSecrets:
|
||||
@ -69,7 +70,15 @@ spec:
|
||||
tolerations:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.persistentStorage.enabled }}
|
||||
volumes:
|
||||
{{- with .Values.volumes }}
|
||||
{{- toYaml . | nindent 6 }}
|
||||
{{- if .Values.persistentStorage.existingClaim }}
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ .Values.persistentStorage.existingClaim }}
|
||||
{{- else }}
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ include "homeassistant.fullname" . }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
24
templates/persistentVolumeClaim.yaml
Normal file
24
templates/persistentVolumeClaim.yaml
Normal 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 }}
|
18
values.yaml
18
values.yaml
@ -37,6 +37,14 @@ ingress:
|
||||
|
||||
nodeSelector: {}
|
||||
|
||||
persistentStorage:
|
||||
enabled: false
|
||||
existingClaim: ""
|
||||
annotations: {}
|
||||
labels: {}
|
||||
storageClass:
|
||||
size: 15Gi
|
||||
|
||||
podAnnotations: {}
|
||||
|
||||
podPriorityClassName: ""
|
||||
@ -70,13 +78,3 @@ service:
|
||||
port: 8123
|
||||
|
||||
tolerations: []
|
||||
|
||||
volumeMounts: []
|
||||
# - name: config
|
||||
# mountPath: /config
|
||||
|
||||
volumes: []
|
||||
# - name: config
|
||||
# hostPath:
|
||||
# path: /etc/homeassistant
|
||||
# type: DirectoryOrCreate
|
||||
|
Reference in New Issue
Block a user