You've already forked homeassistant-charts
Compare commits
46 Commits
0.1.0
...
d4f4df700d
| Author | SHA1 | Date | |
|---|---|---|---|
| d4f4df700d | |||
| b6f0f2a6fc | |||
|
8c83884691
|
|||
|
8d7d4e7034
|
|||
| 852bea664c | |||
| 457c3577cc | |||
|
e8cd20b9f5
|
|||
| e2ebfb3943 | |||
|
014a4c8600
|
|||
|
ee8f9e2e8e
|
|||
|
680077d71f
|
|||
|
e89374e609
|
|||
|
8170f700c3
|
|||
|
e0b1930084
|
|||
| 846a278432 | |||
| 07c090ff9c | |||
| 7a10b48efc | |||
| 1c64fde5e9 | |||
| c8e9603f34 | |||
| 62d0f0f24c | |||
| da3d3f996c | |||
| 808fa995d3 | |||
| 65599ce4b4 | |||
| 1545f28ee0 | |||
| 09d2313b82 | |||
| c251423424 | |||
| ebfeab554e | |||
| 6e86099478 | |||
|
87726d5a35
|
|||
| d5704f62c5 | |||
| 98fd4676f7 | |||
| 684c903a94 | |||
|
32616f8dd7
|
|||
| d15d804eda | |||
|
32e1137d36
|
|||
| b11550e8d6 | |||
|
c767330afb
|
|||
| 84d53816d1 | |||
| 0f83566501 | |||
| ebb2052b8c | |||
| d72307b573 | |||
| f0040b8c39 | |||
| 14d05810a7 | |||
| c309bbd0b0 | |||
| 717c541a7d | |||
| f9d6adf02f |
22
.drone.yml
22
.drone.yml
@@ -3,15 +3,21 @@ kind: pipeline
|
||||
type: kubernetes
|
||||
name: linter
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
||||
|
||||
- name: helm lint
|
||||
commands:
|
||||
- helm lint
|
||||
image: docker.io/volkerraschek/helm:3.10.0
|
||||
image: git.cryptic.systems/volker.raschek/helm:3.14.0
|
||||
resources:
|
||||
limits:
|
||||
cpu: 50
|
||||
@@ -20,7 +26,7 @@ steps:
|
||||
- name: markdown lint
|
||||
commands:
|
||||
- markdownlint *.md
|
||||
image: docker.io/volkerraschek/markdownlint:0.32.2
|
||||
image: git.cryptic.systems/volker.raschek/markdownlint:0.38.0
|
||||
resources:
|
||||
limits:
|
||||
cpu: 150
|
||||
@@ -29,7 +35,7 @@ steps:
|
||||
- name: helm template
|
||||
commands:
|
||||
- helm template .
|
||||
image: docker.io/volkerraschek/helm:3.10.0
|
||||
image: git.cryptic.systems/volker.raschek/helm:3.14.0
|
||||
resources:
|
||||
limits:
|
||||
cpu: 150
|
||||
@@ -47,7 +53,7 @@ steps:
|
||||
from_secret: smtp_username
|
||||
SMTP_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
image: docker.io/volkerraschek/drone-email:0.1.1
|
||||
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
|
||||
resources:
|
||||
limits:
|
||||
cpu: 150
|
||||
@@ -67,10 +73,16 @@ kind: pipeline
|
||||
type: kubernetes
|
||||
name: release
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
||||
|
||||
- name: release-helm-chart
|
||||
commands:
|
||||
- helm repo add volker.raschek https://charts.cryptic.systems/volker.raschek
|
||||
@@ -81,7 +93,7 @@ steps:
|
||||
from_secret: helm_repo_password
|
||||
HELM_REPO_USERNAME:
|
||||
from_secret: helm_repo_username
|
||||
image: docker.io/volkerraschek/helm:3.10.0
|
||||
image: git.cryptic.systems/volker.raschek/helm:3.14.0
|
||||
resources:
|
||||
limits:
|
||||
cpu: 150
|
||||
|
||||
@@ -3,7 +3,7 @@ name: homeassistant
|
||||
description: Helm chart for homeassistant
|
||||
type: application
|
||||
version: "0.1.0"
|
||||
appVersion: "2022.10.4"
|
||||
appVersion: "2023.12.4"
|
||||
icon: https://upload.wikimedia.org/wikipedia/commons/6/6e/Home_Assistant_Logo.svg
|
||||
|
||||
keywords:
|
||||
|
||||
@@ -48,9 +48,10 @@ spec:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
securityContext:
|
||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||
{{- with .Values.volumeMounts }}
|
||||
volumeMounts:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- if .Values.persistentStorage.enabled }}
|
||||
volumes:
|
||||
- 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