Latest stable
This commit is contained in:
1 parent
a68f3664ea
commit
95c52f768d
6 files changed
+31
-76
No files matched your search
+25
-18
@@ -1,21 +1,28 @@
|
||||
|
||||
# resource "helm_release" "local-chart-infrastructure" {
|
||||
# name = "infrastructure"
|
||||
# chart = "charts/infrastructure"
|
||||
# namespace = "default"
|
||||
# set = [{
|
||||
# name = "ns.metallb"
|
||||
# value = module.k8s-helm-charts.namespaces.plugins.metallb
|
||||
# }]
|
||||
# values = [file("./values.yaml")]
|
||||
# timeout = 120
|
||||
# force_update = true
|
||||
# }`
|
||||
resource "helm_release" "local-chart-infrastructure" {
|
||||
name = "infrastructure"
|
||||
chart = "charts/infrastructure"
|
||||
namespace = "default"
|
||||
set = [{
|
||||
name = "ns.metallb"
|
||||
value = module.k8s-helm-charts.namespaces.plugins.metallb
|
||||
}]
|
||||
values = [file("./values.yaml")]
|
||||
timeout = 120
|
||||
force_update = true
|
||||
}
|
||||
|
||||
# module "k8s-helm-charts" {
|
||||
# source = "./tf-modules/k8s-helm-charts"
|
||||
# }
|
||||
module "k8s-helm-charts" {
|
||||
source = "./tf-modules/k8s-helm-charts"
|
||||
}
|
||||
|
||||
# output "ns" {
|
||||
# value = module.k8s-helm-charts.namespaces
|
||||
# }
|
||||
output "ns" {
|
||||
value = module.k8s-helm-charts.namespaces
|
||||
}
|
||||
|
||||
|
||||
resource "kubernetes_namespace" "test" {
|
||||
metadata {
|
||||
name = "test"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user