-
Notifications
You must be signed in to change notification settings - Fork 0
/
helm.tf
66 lines (56 loc) · 1.69 KB
/
helm.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
provider "helm" {
kubernetes {
config_path = "~/.kube/config"
}
}
locals {
k8s-resource-repository = "https://hyunsu-playground.github.io/kubernetes-resource/"
// argocd
argocd-name = "argocd"
argocd-version = "4.8.15"
argocd-namespace = "argocd"
//istio
istio-name = "istio"
istio-version = "1.0.45"
istio-namespace = "istio-system"
// hyunsu application
hyunsu-application-name = "hyunsu-application"
hyunsu-application-version = "1.0.7"
hyunsu-application-namespace = "hyunsu-application"
// jenkins
jenkins-name = "jenkins"
jenkins-version = "1.0.0"
jenkins-namespace = "jenkins"
}
module "argocd" {
source = "./modules/helm"
name = local.argocd-name
namespace = local.argocd-namespace
repository = local.k8s-resource-repository
chart = local.argocd-name
chart_version = local.argocd-version
}
module "istio" {
source = "./modules/helm"
name = local.istio-name
namespace = local.istio-namespace
repository = local.k8s-resource-repository
chart = local.istio-name
chart_version = local.istio-version
}
module "hyunsu-application" {
source = "./modules/helm"
name = local.hyunsu-application-name
namespace = local.hyunsu-application-namespace
repository = local.k8s-resource-repository
chart = local.hyunsu-application-name
chart_version = local.hyunsu-application-version
}
module "jenkins" {
source = "./modules/helm"
name = local.jenkins-name
namespace = local.jenkins-namespace
repository = local.k8s-resource-repository
chart = local.jenkins-name
chart_version = local.jenkins-version
}