mirror of
https://github.com/khuedoan/homelab.git
synced 2025-07-13 09:18:46 +07:00
Restructure
This commit is contained in:
@ -3,13 +3,10 @@
|
|||||||
default: init apply
|
default: init apply
|
||||||
|
|
||||||
init:
|
init:
|
||||||
cd platform \
|
terraform init
|
||||||
&& terraform init
|
|
||||||
|
|
||||||
plan:
|
plan:
|
||||||
platform \
|
terraform plan
|
||||||
&& terraform plan
|
|
||||||
|
|
||||||
apply:
|
apply:
|
||||||
cd platform \
|
terraform apply
|
||||||
&& terraform apply
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
module "rke_cluster_bootstrap" {
|
module "rke_cluster_bootstrap" {
|
||||||
source = "../modules/kubernetes-cluster-bootstrap"
|
source = "./modules/kubernetes-cluster-bootstrap"
|
||||||
kube_config = rke_cluster.cluster.kube_config_yaml
|
kube_config = rke_cluster.cluster.kube_config_yaml
|
||||||
}
|
}
|
@ -70,7 +70,7 @@ resource "helm_release" "longhorn" {
|
|||||||
resource "helm_release" "argocd" {
|
resource "helm_release" "argocd" {
|
||||||
name = "argocd"
|
name = "argocd"
|
||||||
repository = "https://argoproj.github.io/argo-helm"
|
repository = "https://argoproj.github.io/argo-helm"
|
||||||
chart = "argocd"
|
chart = "argo-cd"
|
||||||
version = "3.1.2"
|
version = "3.1.2"
|
||||||
|
|
||||||
namespace = "argocd"
|
namespace = "argocd"
|
||||||
@ -78,18 +78,18 @@ resource "helm_release" "argocd" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# TODO move Vault out of bootstrap
|
# TODO move Vault out of bootstrap
|
||||||
resource "helm_release" "vault" {
|
# resource "helm_release" "vault" {
|
||||||
name = "vault"
|
# name = "vault"
|
||||||
repository = "https://helm.releases.hashicorp.com"
|
# repository = "https://helm.releases.hashicorp.com"
|
||||||
chart = "vault"
|
# chart = "vault"
|
||||||
# TODO upgrade vault helm version
|
# # TODO upgrade vault helm version
|
||||||
version = "0.8.0"
|
# version = "0.8.0"
|
||||||
|
|
||||||
namespace = "vault"
|
# namespace = "vault"
|
||||||
create_namespace = true
|
# create_namespace = true
|
||||||
|
|
||||||
# TODO HA Vault
|
# # TODO HA Vault
|
||||||
# TODO Auto unseal Vault
|
# # TODO Auto unseal Vault
|
||||||
}
|
# }
|
||||||
|
|
||||||
# TODO automatic ingress and tunnel for all services
|
# TODO automatic ingress and tunnel for all services
|
||||||
|
Reference in New Issue
Block a user