my-homelab-configs/bootstrap/apps/variables.tf

57 lines
1.4 KiB
HCL

variable "kubeconfig_path" {
type = string
default = "/home/jv/.kube/config"
}
variable "argocd_namespace" {
type = string
default = "argocd"
}
variable "gitops_repo_url" {
type = string
default = "ssh://jv@192.168.100.68/home/jv/git-server/my-homelab-configs.git"
}
variable "applications" {
type = map(object({
project = string
path = string
namespace = string
target_revision = string
prune = bool
self_heal = bool
create_namespace = bool
}))
default = {
container-registry = {
project = "default"
path = "apps/container-registry"
namespace = "container-registry"
target_revision = "main"
prune = true
self_heal = true
create_namespace = true
}
website-production = {
project = "default"
path = "apps/website"
namespace = "website-production"
target_revision = "main"
prune = true
self_heal = true
create_namespace = true
}
demos-static = {
project = "default"
path = "apps/demos-static"
namespace = "demos-static"
target_revision = "main"
prune = true
self_heal = true
create_namespace = true
}
}
}