71 lines
1.7 KiB
HCL
71 lines
1.7 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 "website_image_ref" {
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
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
|
|
}
|
|
heimdall = {
|
|
project = "default"
|
|
path = "apps/heimdall"
|
|
namespace = "heimdall"
|
|
target_revision = "main"
|
|
prune = true
|
|
self_heal = true
|
|
create_namespace = true
|
|
}
|
|
}
|
|
}
|