Switched to Terraform
This commit is contained in:
@@ -1,5 +1,42 @@
|
||||
# homeassistant_kube
|
||||
|
||||
Switching to terrafrom
|
||||
|
||||
```
|
||||
homeassistant = {
|
||||
enabled = false
|
||||
image = "ghcr.io/home-assistant/home-assistant:stable"
|
||||
service_port = 8123
|
||||
|
||||
environment = {
|
||||
|
||||
PORT = {
|
||||
value = "80"
|
||||
}
|
||||
}
|
||||
pvc = {
|
||||
homeassistant-config = {
|
||||
pvc = true
|
||||
name = "homeassistant-config"
|
||||
pvc_size = "2Mi"
|
||||
mount_path = "/config"
|
||||
}
|
||||
etc_localtime = {
|
||||
host_path = "/etc/localtime"
|
||||
name = "export"
|
||||
pvc_size = "2Mi"
|
||||
mount_path = "/etc/localtime"
|
||||
}
|
||||
}
|
||||
requirements = {
|
||||
limits-cpu = "900m"
|
||||
limits-memory = "600Mi"
|
||||
requests-cpu = "300m"
|
||||
requests-memory = "400Mi"
|
||||
}
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
## Getting started
|
||||
|
||||
Reference in New Issue
Block a user