diff --git a/README.md b/README.md index 2ea7426..19ad737 100644 --- a/README.md +++ b/README.md @@ -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