From a1c3c6d8432b7523ecb8c306f720500eafcd54af Mon Sep 17 00:00:00 2001 From: Michael Mraka Date: Thu, 27 Jun 2024 11:40:08 +0200 Subject: [PATCH] RHINENG-10941: setup candlepin env --- deploy/clowdapp.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deploy/clowdapp.yaml b/deploy/clowdapp.yaml index 6acf8ac5b..dbb0f9936 100644 --- a/deploy/clowdapp.yaml +++ b/deploy/clowdapp.yaml @@ -88,6 +88,9 @@ objects: name: patchman-db-readonly}}} - {name: DB_PORT_READ_REPLICA, valueFrom: {secretKeyRef: {key: db.port, name: patchman-db-readonly}}} + - {name: CANDLEPIN_ADDRESS, value: '${CANDLEPIN_ADDRESS}'} + - {name: CANDLEPIN_CERT, valueFrom: {secretKeyRef: {name: candlepin, key: cert}}} + - {name: CANDLEPIN_KEY, valueFrom: {secretKeyRef: {name: candlepin, key: key}}} - {name: DB_READ_REPLICA_ENABLED, value: '${DB_READ_REPLICA_ENABLED}'} - {name: DB_WORK_MEM, value: '${DB_WORK_MEM}'} - {name: KAFKA_GROUP, value: patchman} @@ -501,6 +504,7 @@ parameters: - {name: RES_REQUEST_CPU_MANAGER, value: 200m} - {name: RES_REQUEST_MEM_MANAGER, value: 256Mi} - {name: RESPONSE_TIMEOUT, value: '60'} +- {name: CANDLEPIN_ADDRESS, value: 'http://candlepin'} - {name: DB_READ_REPLICA_ENABLED, value: 'TRUE'} - {name: ENABLE_PROFILER_MANAGER, value: 'false'} - {name: GOMEMLIMIT_MANAGER, value: '230MiB'} # set to 90% of the default memory limit 256Mi (don't forget `B`)