add app home assistant core
This commit is contained in:
28
kubernetes/apps/home-assistant/app/core/deployment.yaml
Normal file
28
kubernetes/apps/home-assistant/app/core/deployment.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: home-assistant
|
||||
name: home-assistant
|
||||
namespace: home-assistant
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: home-assistant
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: home-assistant
|
||||
spec:
|
||||
containers:
|
||||
- image: homeassistant/home-assistant:2024.7.0b6
|
||||
name: home-assistant
|
||||
volumeMounts:
|
||||
- mountPath: "/config"
|
||||
name: ha-storage
|
||||
volumes:
|
||||
- name: ha-storage
|
||||
hostPath:
|
||||
path: /mnt/nfs/AppData/home-assistant/home-assistant
|
||||
type: Directory
|
||||
Reference in New Issue
Block a user