basement assistent
This commit is contained in:
1 parent
0b7c7d1956
commit
439f89a684
8 files changed
+113
No files matched your search
@@ -0,0 +1,7 @@
|
||||
apiVersion: v2
|
||||
name: basement-assistant
|
||||
description: An apps service for homelab
|
||||
type: application
|
||||
version: 0.1.0
|
||||
appVersion: "edge"
|
||||
dependencies: []
|
||||
@@ -0,0 +1,41 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: "{{ .Release.Name }}"
|
||||
spec:
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 2
|
||||
strategy:
|
||||
type: Recreate
|
||||
selector:
|
||||
matchLabels:
|
||||
homelab/app: "{{ .Release.Name }}"
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
homelab/app: "{{ .Release.Name }}"
|
||||
spec:
|
||||
affinity:
|
||||
{{- .Values.affinity | toYaml | nindent 12}}
|
||||
volumes:
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ .Values.persistence.config.claimName }}
|
||||
containers:
|
||||
- name: main
|
||||
imagePullPolicy: "IfNotPresent"
|
||||
securityContext:
|
||||
privileged: true
|
||||
image: "{{ .Values.image }}:{{ .Values.tag | default .Chart.AppVersion }}"
|
||||
resources:
|
||||
{{- .Values.resources | toYaml | nindent 14}}
|
||||
env:
|
||||
- name: TZ
|
||||
value: "{{ .Values.global.timezone }}"
|
||||
ports:
|
||||
- containerPort: 8123
|
||||
name: http
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: {{ .Release.Name }}
|
||||
spec:
|
||||
selector:
|
||||
homelab/app: {{ .Release.Name }}
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 8123
|
||||
name: http
|
||||
protocol: TCP
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: {{ .Release.Name }}-node-port
|
||||
spec:
|
||||
selector:
|
||||
homelab/app: {{ .Release.Name }}
|
||||
type: NodePort
|
||||
ports:
|
||||
- port: 80
|
||||
nodePort: 30101
|
||||
targetPort: 8123
|
||||
name: http
|
||||
protocol: TCP
|
||||
Whitespace-only changes.
Whitespace-only changes.
@@ -0,0 +1,16 @@
|
||||
|
||||
image:
|
||||
repo: homeassistant/home-assistant
|
||||
tag: "2023.10"
|
||||
|
||||
persistence:
|
||||
config:
|
||||
claimName: ""
|
||||
|
||||
resources:
|
||||
requests:
|
||||
memory: "500Mi"
|
||||
cpu: "150m"
|
||||
limits:
|
||||
memory: "500Mi"
|
||||
cpu: "150m"
|
||||
@@ -55,6 +55,10 @@ services:
|
||||
service: "z2m"
|
||||
namespace: "apps-z2m"
|
||||
middleware: "apps-ingresses-chain-authentik"
|
||||
- prefix: "basement"
|
||||
service: "basement-assistant"
|
||||
namespace: "apps-basement-assistant"
|
||||
middleware: "apps-ingresses-chain-authentik"
|
||||
# vh services
|
||||
{{- range $k, $v := .Values.videohosting.linuxserverServices }}
|
||||
- prefix: "{{ $k }}.vh"
|
||||
|
||||
@@ -99,6 +99,12 @@ apps:
|
||||
data_path:
|
||||
enabled: true
|
||||
claimName: {{ .Values.storage.z2mData.name }}
|
||||
basement-assistant:
|
||||
values: |-
|
||||
persistence:
|
||||
config:
|
||||
enabled: true
|
||||
claimName: {{ .Values.storage.basementConfig.name }}
|
||||
frigate:
|
||||
values: |-
|
||||
persistence:
|
||||
@@ -301,6 +307,16 @@ storage:
|
||||
storage: 2Gi
|
||||
requests:
|
||||
storage: 2Gi
|
||||
basementConfig:
|
||||
name: basement-assistent-config
|
||||
namespace: apps-basement-assistent
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
limits:
|
||||
storage: 2Gi
|
||||
requests:
|
||||
storage: 2Gi
|
||||
frigateConf:
|
||||
name: frigate-conf
|
||||
namespace: apps-frigate
|
||||
|
||||
Reference in new issue
Block a user