From 425427eec3305c0d5311040dbe46cf1c6d9e0bdf Mon Sep 17 00:00:00 2001 From: weskubo-cgi Date: Thu, 12 Oct 2023 15:47:33 -0700 Subject: [PATCH] Fixed autoscaler. --- tools/openshift/backend.dc.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/openshift/backend.dc.yaml b/tools/openshift/backend.dc.yaml index 39e4bc9a..117dd147 100644 --- a/tools/openshift/backend.dc.yaml +++ b/tools/openshift/backend.dc.yaml @@ -139,7 +139,7 @@ objects: scaleTargetRef: apiVersion: apps.openshift.io/v1 kind: DeploymentConfig - name: '${APP_NAME}-${ENVIRONMENT}-backend' + name: '${APP_NAME}-backend-${ENVIRONMENT}' subresource: scale minReplicas: ${{MIN_REPLICAS}} maxReplicas: ${{MAX_REPLICAS}}