Skip to content

Commit

Permalink
Fix metadata DB connection error (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
eldada authored Dec 10, 2024
1 parent 783948c commit fa2aa4e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
4 changes: 0 additions & 4 deletions 6.artifactory-aws-install/artifactory-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ artifactory:
nodeSelector:
group: "artifactory"

## Disable metadata until issue fixed
metadata:
enabled: false

## Nginx
nginx:
disableProxyBuffering: true
Expand Down
2 changes: 1 addition & 1 deletion 6.artifactory-aws-install/artifactory.tf
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ resource "local_file" "artifactory_values" {
database:
# Get the DB endpoint from the RDS console
url: "jdbc:postgresql://${aws_db_instance.artifactory_db.endpoint}/${var.db_name}"
url: "jdbc:postgresql://${aws_db_instance.artifactory_db.endpoint}/${var.db_name}?sslmode=require"
user: "${var.db_username}"
password: "${var.db_password}"
EOT
Expand Down
4 changes: 2 additions & 2 deletions 7.jfrog-platform-aws-install/jfrog-platform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,13 @@ resource "local_file" "jfrog_platform_values" {
bucketName: "artifactory-${var.region}-${var.s3_bucket_name_suffix}"
database:
url: "jdbc:postgresql://${aws_db_instance.artifactory_db.endpoint}/${var.artifactory_db_name}"
url: "jdbc:postgresql://${aws_db_instance.artifactory_db.endpoint}/${var.artifactory_db_name}?sslmode=require"
user: "${var.artifactory_db_username}"
password: "${var.artifactory_db_password}"
xray:
database:
url: "postgres://${aws_db_instance.xray_db.endpoint}/${var.xray_db_name}?sslmode="
url: "postgres://${aws_db_instance.xray_db.endpoint}/${var.xray_db_name}?sslmode=require"
user: "${var.xray_db_username}"
password: "${var.xray_db_password}"
Expand Down
4 changes: 0 additions & 4 deletions 7.jfrog-platform-aws-install/jfrog-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ artifactory:
nodeSelector:
group: "artifactory"

## Disable metadata until issue fixed
metadata:
enabled: false

## Nginx
nginx:
disableProxyBuffering: true
Expand Down

0 comments on commit fa2aa4e

Please sign in to comment.