Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsauravsahu committed Apr 17, 2023
1 parent eb6a28a commit e199a17
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 85 deletions.
63 changes: 17 additions & 46 deletions molecules/cluster-resources/inputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ variable "externals" {
namespace = optional(string)
}))
default = [
# {
# name = "ingress-nginx"
# repo = "https://kubernetes.github.io/ingress-nginx"
# version = "4.4.0"
# },
{
name = "ingress-nginx"
repo = "https://kubernetes.github.io/ingress-nginx"
version = "4.4.0"
},
{
name = "hajimari"
repo = "https://hajimari.io"
Expand All @@ -45,12 +45,12 @@ variable "externals" {
version = "2.11.0",
namespace = "homelab"
},
# {
# name = "postgresql"
# repo = "https://cetic.github.io/helm-charts"
# version = "0.2.3"
# namespace = "homelab"
# },
{
name = "postgresql"
repo = "https://cetic.github.io/helm-charts"
version = "0.2.3"
namespace = "homelab"
},
// TODO: nextcloud fails due to slow startup, need to figure this out
# {
# name = "nextcloud"
Expand All @@ -70,7 +70,6 @@ variable "externals" {
# version = "20.0.3",
# namespace = "homelab"
# },
>>>>>>> 7f05c1c (feat: helm charts for running local setup)
{
name = "prometheus",
repo = "https://prometheus-community.github.io/helm-charts",
Expand All @@ -90,39 +89,11 @@ variable "externals" {
namespace = "homelab"
},
# https://grafana.com/blog/2022/06/23/how-to-send-logs-to-grafana-loki-with-the-opentelemetry-collector-using-fluent-forward-and-filelog-receivers
{
name = "opentelemetry-collector",
repo = "https://open-telemetry.github.io/opentelemetry-helm-charts"
version = "v0.72.0",
namespace = "homelab"
},
# TODO: I don't think this is needed, need to check
# {
# name = "grafana-agent-operator",
# repo = "https://grafana.github.io/helm-charts",
# version = "9.3.1",
# namespace = "homelab"
# },
# TODO: nextcloud fails due to slow startup, need to figure this out
# {
# name = "nextcloud"
# repo = "https://nextcloud.github.io/helm"
# version = "3.3.6"
# namespace = "homelab"
# },
# TODO: Use coredns for DNS. Still not sure about this
# {
# name = "coredns",
# repo = "https://coredns.github.io/helm",
# version = "1.19.7",
# namespace = "homelab"
# },
# TODO: Add configuration for this
# {
# name = "keycloak",
# repo = "https://codecentric.github.io/helm-charts",
# version = "20.0.3",
# namespace = "homelab"
# },
#{
# name = "opentelemetry-collector",
# repo = "https://open-telemetry.github.io/opentelemetry-helm-charts"
# version = "v0.72.0",
# namespace = "homelab"
#},
]
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cluster = {
name = "colima-justdocker"
name = "docker-desktop"
config_path = "~/.kube/config"
host = "https://127.0.0.1:6443"
hosts = [
Expand All @@ -8,23 +8,23 @@ cluster = {
}

externals = [
{
{
name = "ingress-nginx"
repo = "https://kubernetes.github.io/ingress-nginx"
version = "4.4.0"
},
# {
# name = "hajimari"
# repo = "https://hajimari.io"
# version = "1.2.0"
# namespace = "homelab"
# },
# {
# name = "postgresql"
# repo = "https://cetic.github.io/helm-charts"
# version = "0.2.3"
# namespace = "homelab"
# },
#{
# name = "hajimari"
# repo = "https://hajimari.io"
# version = "1.2.0"
# namespace = "homelab"
#},
{
name = "postgresql"
repo = "https://cetic.github.io/helm-charts"
version = "0.2.3"
namespace = "homelab"
},
// TODO: nextcloud fails due to slow startup, need to figure this out
# {
# name = "nextcloud"
Expand All @@ -50,18 +50,12 @@ externals = [
# version = "20.0.3",
# namespace = "homelab"
# },
#{
# name = "prometheus",
# repo = "https://prometheus-community.github.io/helm-charts",
# version = "19.3.1",
# namespace = "homelab"
#},
#{
# name = "grafana-agent-operator",
# repo = "https://grafana.github.io/helm-charts",
# version = "9.3.1",
# namespace = "homelab"
#},
{
name = "prometheus",
repo = "https://prometheus-community.github.io/helm-charts",
version = "19.3.1",
namespace = "homelab"
},
{
name = "grafana",
repo = "https://grafana.github.io/helm-charts",
Expand All @@ -79,15 +73,8 @@ externals = [
name = "opentelemetry-collector",
repo = "https://open-telemetry.github.io/opentelemetry-helm-charts"
version = "v0.72.0",
namespace = "homelab"
namespace = "payobills-dev"
},
#{
# name = "otel-collector-template-monorepo-dev",
# chart_name = "opentelemetry-collector",
# repo = "https://open-telemetry.github.io/opentelemetry-helm-charts"
# version = "v0.72.0",
# namespace = "template-monorepo-dev"
#},
#{
# name = "opentelemetry-collector",
# repo = "https://open-telemetry.github.io/opentelemetry-helm-charts"
Expand All @@ -99,10 +86,16 @@ externals = [
# repo = "https://charts.bitnami.com/bitnami",
# version = "21.3.0"
#},
# {
# name = "zeebe-full-helm",
# repo = "https://helm.camunda.io"
# version = "1.3.5",
# namespace = "homelab"
# },
{
name = "zeebe-full-helm",
repo = "https://helm.camunda.io"
version = "1.3.5",
namespace = "homelab"
},
name = "dapr",
repo = "https://dapr.github.io/helm-charts/",
version = "1.10.5",
namespace = "dapr-system"
}
]

0 comments on commit e199a17

Please sign in to comment.