Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Apr 18, 2025
1 parent 448db6e commit 19fda3b
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 16 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Common issues and solutions:

| Name | Source | Version |
|------|--------|---------|
| <a name="module_images"></a> [images](#module\_images) | git@github.e.it.census.gov:terraform-modules/aws-ecr-copy-images.git/ | tf-upgrade |
| <a name="module_images"></a> [images](#module\_images) | git::https://github.e.it.census.gov/terraform-modules/aws-ecr-copy-images.git/ | tf-upgrade |
| <a name="module_ingress_resources"></a> [ingress\_resources](#module\_ingress\_resources) | git::https://github.e.it.census.gov/SCT-Engineering/tfmod-istio-service-ingress.git | n/a |
| <a name="module_keycloak_db_config"></a> [keycloak\_db\_config](#module\_keycloak\_db\_config) | git@github.e.it.census.gov:SCT-Engineering/tfmod-config-job.git//config-job | n/a |
| <a name="module_post_install"></a> [post\_install](#module\_post\_install) | git::https://github.e.it.census.gov/SCT-Engineering/tfmod-config-job.git//config-job | n/a |
Expand Down
2 changes: 1 addition & 1 deletion copy_images.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
34 changes: 24 additions & 10 deletions keycloak-db-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,45 @@ 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:
cpu: 100m
memory: 128Mi
limits:
cpu: 2000m
memory: 2Gi
memory: 2Gi
metrics:
enabled: true
persistence:
enabled: true

# PostgreSQL autoscaling settings
postgresql:
resources:
requests:
cpu: 500m
memory: 1Gi
limits:
cpu: 1000m
memory: 2Gi
8 changes: 4 additions & 4 deletions keycloak-server-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 19fda3b

Please sign in to comment.