cluster through terraform now
This commit is contained in:
parent
65e8ed0186
commit
0f7f95a1b0
6
lab/cluster/.gitignore
vendored
Normal file
6
lab/cluster/.gitignore
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
kubeconfig.yaml
|
||||||
|
.terraform*
|
||||||
|
terraform.tfstate.backup
|
||||||
|
terraform.tfstate
|
||||||
|
tfplan
|
||||||
|
|
5
lab/cluster/namespace.tf
Normal file
5
lab/cluster/namespace.tf
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
resource kubernetes_namespace vault {
|
||||||
|
metadata {
|
||||||
|
name = "vault"
|
||||||
|
}
|
||||||
|
}
|
3
lab/cluster/provider.tf
Normal file
3
lab/cluster/provider.tf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
provider "kubernetes" {
|
||||||
|
config_path = "./kubeconfig.yaml"
|
||||||
|
}
|
0
lab/cluster/readme
Normal file
0
lab/cluster/readme
Normal file
Loading…
Reference in New Issue
Block a user