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