Compare commits
18 Commits
Author | SHA1 | Date |
---|---|---|
CSRBot | 6c753b38c5 | |
CSRBot | bdcecd1af0 | |
CSRBot | 84d1807608 | |
CSRBot | 52b4034079 | |
CSRBot | 4669713a59 | |
CSRBot | 6b184b950f | |
CSRBot | a931a11980 | |
CSRBot | f4a7c80425 | |
Markus Pesch | dfb5535b16 | |
CSRBot | d4f4df700d | |
CSRBot | b6f0f2a6fc | |
Markus Pesch | 8c83884691 | |
Markus Pesch | 8d7d4e7034 | |
CSRBot | 852bea664c | |
CSRBot | 457c3577cc | |
Markus Pesch | e8cd20b9f5 | |
CSRBot | e2ebfb3943 | |
Markus Pesch | 014a4c8600 |
|
@ -17,7 +17,7 @@ steps:
|
||||||
- name: helm lint
|
- name: helm lint
|
||||||
commands:
|
commands:
|
||||||
- helm lint
|
- helm lint
|
||||||
image: git.cryptic.systems/volker.raschek/helm:3.13.1
|
image: git.cryptic.systems/volker.raschek/helm:3.15.0
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 50
|
cpu: 50
|
||||||
|
@ -26,7 +26,7 @@ steps:
|
||||||
- name: markdown lint
|
- name: markdown lint
|
||||||
commands:
|
commands:
|
||||||
- markdownlint *.md
|
- markdownlint *.md
|
||||||
image: git.cryptic.systems/volker.raschek/markdownlint:0.37.0
|
image: git.cryptic.systems/volker.raschek/markdownlint:0.41.0
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 150
|
cpu: 150
|
||||||
|
@ -35,7 +35,7 @@ steps:
|
||||||
- name: helm template
|
- name: helm template
|
||||||
commands:
|
commands:
|
||||||
- helm template .
|
- helm template .
|
||||||
image: git.cryptic.systems/volker.raschek/helm:3.13.1
|
image: git.cryptic.systems/volker.raschek/helm:3.15.0
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 150
|
cpu: 150
|
||||||
|
@ -93,7 +93,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.1
|
image: git.cryptic.systems/volker.raschek/helm:3.15.0
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 150
|
cpu: 150
|
||||||
|
|
|
@ -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.9.3"
|
appVersion: "2023.12.4"
|
||||||
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:
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"automergeStrategy": "merge-commit",
|
|
||||||
"automergeType": "pr",
|
|
||||||
"assignees": [ "volker.raschek" ],
|
"assignees": [ "volker.raschek" ],
|
||||||
"labels": [ "renovate" ],
|
"labels": [ "renovate" ],
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
|
|
|
@ -48,9 +48,10 @@ spec:
|
||||||
{{- toYaml .Values.resources | nindent 12 }}
|
{{- toYaml .Values.resources | nindent 12 }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||||
{{- with .Values.volumeMounts }}
|
{{- if .Values.persistentStorage.enabled }}
|
||||||
volumeMounts:
|
volumes:
|
||||||
{{- toYaml . | nindent 8 }}
|
- name: config
|
||||||
|
mountPath: /config
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.imagePullSecrets }}
|
{{- with .Values.imagePullSecrets }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
|
@ -69,7 +70,15 @@ spec:
|
||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.persistentStorage.enabled }}
|
||||||
volumes:
|
volumes:
|
||||||
{{- with .Values.volumes }}
|
{{- if .Values.persistentStorage.existingClaim }}
|
||||||
{{- toYaml . | nindent 6 }}
|
- name: config
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: {{ .Values.persistentStorage.existingClaim }}
|
||||||
|
{{- else }}
|
||||||
|
- name: config
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: {{ include "homeassistant.fullname" . }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -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: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
|
persistentStorage:
|
||||||
|
enabled: false
|
||||||
|
existingClaim: ""
|
||||||
|
annotations: {}
|
||||||
|
labels: {}
|
||||||
|
storageClass:
|
||||||
|
size: 15Gi
|
||||||
|
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
|
|
||||||
podPriorityClassName: ""
|
podPriorityClassName: ""
|
||||||
|
@ -70,13 +78,3 @@ service:
|
||||||
port: 8123
|
port: 8123
|
||||||
|
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
|
||||||
volumeMounts: []
|
|
||||||
# - name: config
|
|
||||||
# mountPath: /config
|
|
||||||
|
|
||||||
volumes: []
|
|
||||||
# - name: config
|
|
||||||
# hostPath:
|
|
||||||
# path: /etc/homeassistant
|
|
||||||
# type: DirectoryOrCreate
|
|
||||||
|
|
Loading…
Reference in New Issue