Move media stack to tofu
This commit is contained in:
24
media/main.tf
Normal file
24
media/main.tf
Normal file
@@ -0,0 +1,24 @@
|
||||
provider "kubernetes" {
|
||||
config_path="~/.kube/config"
|
||||
}
|
||||
|
||||
variable "domain" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "media_storage" {
|
||||
type = object({
|
||||
server_ip = string
|
||||
root_path = string
|
||||
torrent_path = string
|
||||
jellyfin_path = string
|
||||
movies_path = string
|
||||
shows_path = string
|
||||
})
|
||||
}
|
||||
|
||||
resource "kubernetes_namespace_v1" "media" {
|
||||
metadata {
|
||||
name = "media"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user