1 Commits

Author SHA1 Message Date
2373751e83 Update dependency homeassistant to v2023
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2023-01-07 21:26:51 +01:00
5 changed files with 21 additions and 64 deletions

View File

@@ -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.3.1
- name: helm lint - name: helm lint
commands: commands:
- helm lint - helm lint
image: git.cryptic.systems/volker.raschek/helm:3.13.3 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.38.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.13.3 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.1.5 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.3.1
- 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.13.3 image: docker.io/volkerraschek/helm:3.10.2
resources: resources:
limits: limits:
cpu: 150 cpu: 150

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.11.3" 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:

View File

@@ -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 }}
volumes: 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 }}

View File

@@ -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 }}

View File

@@ -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