add dawarich deployment [ci skip]

This commit is contained in:
Viktor Barzin 2024-12-30 22:14:59 +00:00
parent 92bebe9324
commit 8e1e1a963c
4 changed files with 244 additions and 0 deletions

View file

@ -37,6 +37,9 @@ resource "kubernetes_secret" "basic_auth" {
}
type = "Opaque"
lifecycle {
ignore_changes = [data]
}
}
resource "kubernetes_deployment" "owntracks" {
@ -88,6 +91,10 @@ resource "kubernetes_deployment" "owntracks" {
name = "data"
mount_path = "/store"
}
volume_mount {
name = "data"
mount_path = "/config"
}
}
volume {
name = "data"