Skip to content

Commit

Permalink
cleanup of commented sources
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Apr 22, 2025
1 parent 05d62f6 commit 0ac5e6b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ Common issues and solutions:
| <a name="input_profile"></a> [profile](#input\_profile) | AWS config profile used to upload images into ECR | `string` | `""` | no |
| <a name="input_region"></a> [region](#input\_region) | AWS region | `string` | n/a | yes |
| <a name="input_service_name"></a> [service\_name](#input\_service\_name) | The name of the service to be deployed in the EKS cluster. | `string` | `"service"` | no |
| <a name="input_utilities_tag"></a> [utilities\_tag](#input\_utilities\_tag) | Used for chown and curl. | `string` | `"1.0.3"` | no |

## Outputs

Expand Down
7 changes: 2 additions & 5 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,15 @@ resource "kubernetes_namespace" "keycloak" {
module "service_account" {
# tflint-ignore: terraform_module_pinned_source
source = "git::https://github.e.it.census.gov/SCT-Engineering/tfmod-config-job.git//service-account"
# source = "git@github.e.it.census.gov:SCT-Engineering/tfmod-config-job.git//service-account"

namespace = kubernetes_namespace.keycloak.metadata[0].name
}

module "pre_install" {
# tflint-ignore: terraform_module_pinned_source
source = "git::https://github.e.it.census.gov/SCT-Engineering/tfmod-config-job.git//config-job/?ref=mcmCluster"
# source = "git@github.e.it.census.gov:SCT-Engineering/tfmod-config-job.git//config-job"

namespace = module.service_account.namespace
namespace = kubernetes_namespace.keycloak.metadata[0].name
service_account_name = module.service_account.service_account_name
job_name = "keycloak-config-secret-job"
config_script = local.secrets_job_script
Expand Down Expand Up @@ -191,14 +189,13 @@ module "ingress_resources" {
public_hostname = var.service_name
public_domain = var.cluster_domain
service_name = format("%v-%v-%v", var.service_name, var.keycloak_namespace, "http")
service_namespace = var.keycloak_namespace
service_namespace = kubernetes_namespace.keycloak.metadata[0].name
service_port = local.public_port_number
}

module "post_install" {
# tflint-ignore: terraform_module_pinned_source
source = "git::https://github.e.it.census.gov/SCT-Engineering/tfmod-config-job.git//config-job/?ref=mcmCluster"
# source = "git@github.e.it.census.gov:SCT-Engineering/tfmod-config-job.git//config-job"

namespace = helm_release.keycloak.namespace
service_account_name = module.service_account.service_account_name
Expand Down
7 changes: 7 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,10 @@ variable "service_name" {
type = string
default = "service"
}

# From bigbang utilities
variable "utilities_tag" {
description = "Used for chown and curl."
type = string
default = "1.0.3"
}

0 comments on commit 0ac5e6b

Please sign in to comment.