diff --git a/README.md b/README.md
index 7de1e73..97d28f6 100644
--- a/README.md
+++ b/README.md
@@ -86,7 +86,7 @@ Common issues and solutions:
| Name | Source | Version |
|------|--------|---------|
-| [images](#module\_images) | git@github.e.it.census.gov:terraform-modules/aws-ecr-copy-images.git/ | tf-upgrade |
+| [images](#module\_images) | git::https://github.e.it.census.gov/terraform-modules/aws-ecr-copy-images.git/ | tf-upgrade |
| [ingress\_resources](#module\_ingress\_resources) | git::https://github.e.it.census.gov/SCT-Engineering/tfmod-istio-service-ingress.git | n/a |
| [keycloak\_db\_config](#module\_keycloak\_db\_config) | git@github.e.it.census.gov:SCT-Engineering/tfmod-config-job.git//config-job | n/a |
| [post\_install](#module\_post\_install) | git::https://github.e.it.census.gov/SCT-Engineering/tfmod-config-job.git//config-job | n/a |
diff --git a/copy_images.tf b/copy_images.tf
index 0e946dd..987e60e 100644
--- a/copy_images.tf
+++ b/copy_images.tf
@@ -37,7 +37,7 @@ locals {
}
module "images" {
- source = "git@github.e.it.census.gov:terraform-modules/aws-ecr-copy-images.git/?ref=tf-upgrade"
+ source = "git::https://github.e.it.census.gov/terraform-modules/aws-ecr-copy-images.git/?ref=tf-upgrade"
profile = var.profile
application_name = var.cluster_name
diff --git a/keycloak-db-values.yaml b/keycloak-db-values.yaml
index cf0eb44..ef6aa90 100644
--- a/keycloak-db-values.yaml
+++ b/keycloak-db-values.yaml
@@ -3,26 +3,26 @@ global:
security:
allowInsecureImages: true
postgresql:
- # architecture: replication
+ architecture: replication
auth:
database: keycloak
- existingSecret: 'keycloak-db-creds'
+ existingSecret: keycloak-db-creds
secretKeys:
adminPasswordKey: password
userPasswordKey: postgres-password
replicationPasswordKey: replication-password
image:
- registry:
- repository:
- tag:
+ registry:
+ repository:
+ tag:
primary:
resources:
requests:
- memory: "128Mi"
- cpu: "100m"
+ cpu: 100m
+ memory: 128Mi
limits:
- memory: "2Gi"
- cpu: "2000m"
+ cpu: 2000m
+ memory: 2Gi
readReplicas:
resources:
requests:
@@ -30,4 +30,18 @@ readReplicas:
memory: 128Mi
limits:
cpu: 2000m
- memory: 2Gi
\ No newline at end of file
+ memory: 2Gi
+metrics:
+ enabled: true
+persistence:
+ enabled: true
+
+# PostgreSQL autoscaling settings
+postgresql:
+ resources:
+ requests:
+ cpu: 500m
+ memory: 1Gi
+ limits:
+ cpu: 1000m
+ memory: 2Gi
diff --git a/keycloak-server-values.yaml b/keycloak-server-values.yaml
index 6fe67b7..1dd0101 100644
--- a/keycloak-server-values.yaml
+++ b/keycloak-server-values.yaml
@@ -38,11 +38,11 @@ extraEnv: |
# enabled: true
resources:
requests:
- cpu: "500m"
- memory: "1024Mi"
+ cpu: 500m
+ memory: 1024Mi
limits:
- cpu: "1"
- memory: "4096Mi"
+ cpu: 1
+ memory: 4096Mi
database:
vendor: postgres