Skip to content

Commit

Permalink
versions
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Mar 13, 2025
1 parent a3ace69 commit 7ed43de
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 5 deletions.
10 changes: 10 additions & 0 deletions lab/_envcommon/default-versions.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,16 @@ locals {
metrics_server_helm_chart = "3.12.1"
metrics_server_tag = "v0.7.1"

################
# PostgreSQL
################
os_shell_tag = "12"
postgres_exporter_tag = "0.16.0"
postgresql_repmgr_tag = "17.4.0"
pgpool_tag = "4.5.5"
postgresql_chart_version = "15.3.0"
postgresql_tag = "17.4.0"

################
# Prometheus
################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dependency "eks" {
}
}

dependency "eks-config" {
dependency "eks_config" {
config_path = "../eks-config"
mock_outputs_allowed_terraform_commands = ["init", "plan", "validate", "destroy"]
mock_outputs = {
Expand Down Expand Up @@ -52,5 +52,5 @@ inputs = {
loki_chart_version = include.root.inputs.loki_chart_version
loki_tag = include.root.inputs.loki_tag
namespace = include.root.inputs.namespaces["loki"]
rwo_storage_class = dependency.eks-config.outputs.rwo_storage_class
rwo_storage_class = dependency.eks_config.outputs.rwo_storage_class
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ dependency "eks" {
}
}

dependency "eks_config" {
config_path = "../eks-config"
mock_outputs_allowed_terraform_commands = ["init", "plan", "validate", "destroy"]
mock_outputs = {
rwo_storage_class = "gp3-mock"
}
}

dependency "eks_dns" {
config_path = "../eks-dns"
mock_outputs_allowed_terraform_commands = ["init", "plan", "validate", "destroy"]
Expand All @@ -47,10 +55,14 @@ inputs = {
# Cluster Configuration
cluster_domain = dependency.eks_dns.outputs.cluster_domain
cluster_name = dependency.eks.outputs.cluster_name
rwo_storage_class = dependency.eks_config.outputs.rwo_storage_class

# PostgreSQL Configuration
service_name = include.root.inputs.postgresql_name
postgresql_version = include.root.inputs.postgresql_version

service_name = "postgresql"
os_shell_tag = include.root.inputs.os_shell_tag
postgres_exporter_tag = include.root.inputs.postgres_exporter_tag
postgresql_tag = include.root.inputs.postgresql_tag
postgresql_repmgr_tag = include.root.inputs.postgresql_repmgr_tag
pgpool_tag = include.root.inputs.pgpool_tag
namespace = include.root.inputs.namespaces["postgresql"]
}

0 comments on commit 7ed43de

Please sign in to comment.