Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Mar 13, 2025
1 parent a0c2257 commit b7f3e42
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .github/platform-tg-infra.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@
{
"name": "terragrunt",
"path": "../../terragrunt"
},
{
"path": "../../tfmod-config-job"
}
]
}
8 changes: 4 additions & 4 deletions lab/_envcommon/default-versions.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ locals {
#####################
# Namespaces Config
#####################
operator_namespace = "operator"
telemetry_namespace = "telemetry"
operator_namespace = "aoperator"
telemetry_namespace = "atelemetry"
namespaces = {
cert-manager = "kube-system"
karpenter = "karpenter"
Expand Down Expand Up @@ -98,8 +98,8 @@ locals {
keycloak_chart_version = "24.4.11"
keycloak_tag = "26.1.3"
keycloak_hostname = "keycloak"
keycloak_database = "bitnami_keycloak"
keycloak_username = "bn_keycloak"
keycloak_database = "keycloak"
keycloak_username = "keycloak"
keycloak_password = "this is my very secure and totally random password horse battery staple now"
postgresql_tag = "17.4.0-debian-12-r2"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ dependency "eks_keycloak" {
mock_outputs_allowed_terraform_commands = ["init", "plan", "validate", "destroy"]
mock_outputs = {
public_endpoint = "mock.keycloak.example.com"
discovery_url = "mock.keycloak.example.com/auth"
client_id = "mock-client-id"
client_secret = "mock-client-secret"
}
}

Expand All @@ -65,11 +68,13 @@ inputs = {
# Gatekeeper Config
gogatekeeper_tag = include.root.inputs.gogatekeeper_tag
gogatekeeper_chart_version = include.root.inputs.gogatekeeper_chart_version
keycloak_public_url = dependency.eks_keycloak.outputs.public_endpoint
keycloak_discovery_url = dependency.eks_keycloak.outputs.discovery_url

# Service Behind Gatekeeper Config
service_name = "test-gc"
redirection_url = dependency.eks_grafana.outputs.public_endpoint
client_id = dependency.eks_keycloak.outputs.client_id
client_secret = dependency.eks_keycloak.outputs.client_secret
service_name = "test-gc"
upstream_url = dependency.eks_grafana.outputs.public_endpoint
redirection_url = dependency.eks_grafana.outputs.public_endpoint
client_id = dependency.eks_keycloak.outputs.client_id
client_secret = dependency.eks_keycloak.outputs.client_secret
keycloak_public_url = dependency.eks_keycloak.outputs.public_endpoint
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ dependencies {
}

inputs = {
admin_email = include.root.inputs.cluster_mailing_list
cluster_domain = dependency.eks_dns.outputs.cluster_domain
cluster_name = dependency.eks.outputs.cluster_name
namespace = include.root.inputs.namespaces["keycloak"]
Expand All @@ -59,6 +58,10 @@ inputs = {
keycloak_chart_version = include.root.inputs.keycloak_chart_version
keycloak_hostname = include.root.inputs.keycloak_hostname
keycloak_tag = include.root.inputs.keycloak_tag
realm_email = include.root.inputs.cluster_mailing_list
realm_name = "master"
realm_password = include.root.inputs.keycloak_password
realm_username = include.root.inputs.keycloak_username
service_name = "keycloak"
telemetry_namespace = include.root.inputs.telemetry_namespace

Expand Down

0 comments on commit b7f3e42

Please sign in to comment.