Skip to content

Commit

Permalink
remove instancemetrics_db leftovers which refer to the appinstancemet…
Browse files Browse the repository at this point in the history
…rics table that got deleted
  • Loading branch information
geigerj0 committed Jun 19, 2024
1 parent e3d8c00 commit 460e762
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 43 deletions.
32 changes: 0 additions & 32 deletions jobs/operator/spec
Original file line number Diff line number Diff line change
Expand Up @@ -90,32 +90,6 @@ properties:
default: disable
description: "sslmode to connect to postgres server"


autoscaler.instancemetrics_db.address:
description: "IP address on which the instancemetricsdb server will listen"
default: "autoscalerpostgres.service.cf.internal"
autoscaler.instancemetrics_db.databases:
description: "The list of databases used in instancemetricsdb database including name"
autoscaler.instancemetrics_db.db_scheme:
description: "Database scheme to be used to access instancemetricsdb"
default: postgres
autoscaler.instancemetrics_db.port:
description: "Port on which the instancemetricsdb server will listen"
autoscaler.instancemetrics_db.roles:
description: "The list of database roles used in instancemetricsdb database including name/password"
autoscaler.instancemetrics_db.tls.ca:
default: ''
description: 'PEM-encoded ca certificate for TLS database server'
autoscaler.instancemetrics_db.tls.certificate:
default: ''
description: 'PEM-encoded certificate for TLS database client'
autoscaler.instancemetrics_db.tls.private_key:
default: ''
description: 'PEM-encoded key for tls database client'
autoscaler.instancemetrics_db.sslmode:
default: disable
description: "sslmode to connect to postgres server"

autoscaler.appmetrics_db.address:
description: "IP address on which the appmetricsdb server will listen"
default: "autoscalerpostgres.service.cf.internal"
Expand Down Expand Up @@ -181,12 +155,6 @@ properties:
autoscaler.appmetrics_db_connection_config.connection_max_lifetime:
default: 60s

autoscaler.instancemetrics_db_connection_config.max_open_connections:
default: 10
autoscaler.instancemetrics_db_connection_config.max_idle_connections:
default: 1
autoscaler.instancemetrics_db_connection_config.connection_max_lifetime:
default: 60s

autoscaler.scalingengine_db_connection_config.max_open_connections:
default: 10
Expand Down
6 changes: 0 additions & 6 deletions operations/connect_to_postgres_with_certs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,6 @@
path: /instance_groups/name=scheduler/jobs/name=scheduler/properties/autoscaler/policy_db/tls/private_key
value: ((postgres_client.private_key))

- type: replace
path: /instance_groups/name=operator/jobs/name=operator/properties/autoscaler/instancemetrics_db/tls/certificate
value: ((postgres_client.certificate))
- type: replace
path: /instance_groups/name=operator/jobs/name=operator/properties/autoscaler/instancemetrics_db/tls/private_key
value: ((postgres_client.private_key))
- type: replace
path: /instance_groups/name=operator/jobs/name=operator/properties/autoscaler/appmetrics_db/tls/certificate
value: ((postgres_client.certificate))
Expand Down
4 changes: 0 additions & 4 deletions operations/disable-postgres-tls-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@
path: /instance_groups/name=operator/jobs/name=operator/properties/autoscaler/appmetrics_db/sslmode
value: disable

- type: replace
path: /instance_groups/name=operator/jobs/name=operator/properties/autoscaler/instancemetrics_db/sslmode
value: disable

- type: replace
path: /instance_groups/name=operator/jobs/name=operator/properties/autoscaler/lock_db/sslmode
value: disable
Expand Down
1 change: 0 additions & 1 deletion templates/app-autoscaler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,6 @@ instance_groups:
release: app-autoscaler
properties:
autoscaler:
instancemetrics_db: *database
appmetrics_db: *database
appmetrics_db_connection_config: *databaseConnectionConfig
scalingengine_db: *database
Expand Down

0 comments on commit 460e762

Please sign in to comment.