Compare commits

..

No commits in common. "master" and "0.1.6" have entirely different histories.

6 changed files with 23 additions and 64 deletions

View File

@ -3,21 +3,15 @@ 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: git.cryptic.systems/volker.raschek/helm:3.15.0
image: docker.io/volkerraschek/helm:3.11.2
resources:
limits:
cpu: 50
@ -26,7 +20,7 @@ steps:
- name: markdown lint
commands:
- markdownlint *.md
image: git.cryptic.systems/volker.raschek/markdownlint:0.41.0
image: docker.io/volkerraschek/markdownlint:0.33.0
resources:
limits:
cpu: 150
@ -35,7 +29,7 @@ steps:
- name: helm template
commands:
- helm template .
image: git.cryptic.systems/volker.raschek/helm:3.15.0
image: docker.io/volkerraschek/helm:3.11.2
resources:
limits:
cpu: 150
@ -53,7 +47,7 @@ steps:
from_secret: smtp_username
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:
limits:
cpu: 150
@ -73,16 +67,10 @@ 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
@ -93,7 +81,7 @@ steps:
from_secret: helm_repo_password
HELM_REPO_USERNAME:
from_secret: helm_repo_username
image: git.cryptic.systems/volker.raschek/helm:3.15.0
image: docker.io/volkerraschek/helm:3.11.2
resources:
limits:
cpu: 150

View File

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

View File

@ -1,5 +1,7 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"automergeStrategy": "merge-commit",
"automergeType": "pr",
"assignees": [ "volker.raschek" ],
"labels": [ "renovate" ],
"packageRules": [

View File

@ -48,10 +48,9 @@ spec:
{{- toYaml .Values.resources | nindent 12 }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
{{- if .Values.persistentStorage.enabled }}
volumes:
- name: config
mountPath: /config
{{- with .Values.volumeMounts }}
volumeMounts:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
@ -70,15 +69,7 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.persistentStorage.enabled }}
volumes:
{{- if .Values.persistentStorage.existingClaim }}
- name: config
persistentVolumeClaim:
claimName: {{ .Values.persistentStorage.existingClaim }}
{{- else }}
- name: config
persistentVolumeClaim:
claimName: {{ include "homeassistant.fullname" . }}
{{- end }}
{{- with .Values.volumes }}
{{- toYaml . | nindent 6 }}
{{- 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: {}
persistentStorage:
enabled: false
existingClaim: ""
annotations: {}
labels: {}
storageClass:
size: 15Gi
podAnnotations: {}
podPriorityClassName: ""
@ -78,3 +70,13 @@ service:
port: 8123
tolerations: []
volumeMounts: []
# - name: config
# mountPath: /config
volumes: []
# - name: config
# hostPath:
# path: /etc/homeassistant
# type: DirectoryOrCreate