Skip to content

Commit

Permalink
exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Apr 21, 2025
1 parent 7e6b17c commit 71ccef6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ Common issues and solutions:
| <a name="input_keycloak_namespace"></a> [keycloak\_namespace](#input\_keycloak\_namespace) | The namespace which will be created and into which keycloak will be deployed. | `string` | `"keycloak"` | no |
| <a name="input_keycloak_tag"></a> [keycloak\_tag](#input\_keycloak\_tag) | The image tag associated with the keycloak\_chart\_version | `string` | `"26.0.7"` | no |
| <a name="input_keycloak_user"></a> [keycloak\_user](#input\_keycloak\_user) | The username for the database. | `string` | `"keycloak"` | no |
| <a name="input_postgres_exporter_tag"></a> [postgres\_exporter\_tag](#input\_postgres\_exporter\_tag) | The tag of the postgres exporter image to use. | `string` | `"17.4.0"` | no |
| <a name="input_postgresql_chart_version"></a> [postgresql\_chart\_version](#input\_postgresql\_chart\_version) | The helm chart version of postgresql to use. | `string` | `"17.4.0"` | no |
| <a name="input_postgresql_tag"></a> [postgresql\_tag](#input\_postgresql\_tag) | The tag of the postgresql image to use. | `string` | `"17.4.0"` | no |
| <a name="input_profile"></a> [profile](#input\_profile) | AWS config profile used to upload images into ECR | `string` | `""` | no |
Expand Down
5 changes: 3 additions & 2 deletions copy_images.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ locals {
keycloak_name = "keycloak/keycloak"
keycloak_key = format("%v#%v", local.keycloak_name, var.keycloak_tag)
postgresql_key = format("%v#%v", "bitnami/postgresql", var.postgresql_tag)
# postgres_exporter_key = format("%v#%v", "bitnami/postgres-exporter", var.postgres_exporter_tag)
kubectl_key = format("%v#%v", "bitnami/kubectl-debian", var.utilities_tag)
ent_ecr_source = format("%v.%v.%v.%v", var.eecr_info.account_id, "dkr.ecr", var.region, "amazonaws.com/ent-images")

Expand Down Expand Up @@ -30,8 +31,8 @@ locals {
name = "bitnami/postgres-exporter"
source_image = "bitnami/postgres-exporter"
source_registry = format("%v/%v", local.ent_ecr_source, "docker-io")
source_tag = var.postgresql_tag
tag = var.postgresql_tag
source_tag = var.postgres_exporter_tag
tag = var.postgres_exporter_tag
},
{
enabled = true
Expand Down
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ variable "postgresql_tag" {
default = "17.4.0"
}

variable "postgres_exporter_tag" {
description = "The tag of the postgres exporter image to use."
type = string
default = "17.4.0"
}

variable "region" {
description = "AWS region"
type = string
Expand Down

0 comments on commit 71ccef6

Please sign in to comment.