From 77774112e424be368ab8ad2143090f76fe463541 Mon Sep 17 00:00:00 2001 From: Luis Aleixo Date: Thu, 11 May 2023 11:55:56 +0200 Subject: [PATCH] added env variable to deploymentconfig template --- app-config/openshift/deploymentconfig.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app-config/openshift/deploymentconfig.yaml b/app-config/openshift/deploymentconfig.yaml index 2a130971..cda24258 100644 --- a/app-config/openshift/deploymentconfig.yaml +++ b/app-config/openshift/deploymentconfig.yaml @@ -284,7 +284,7 @@ key: ARVE_API_KEY name: arve-api - name: EXTRA_PAGES - value: '[{"url_path":"/about","filename":"about.html.j2"},{"url_path":"/calculator/user-guide","filename":"userguide.html.j2"}]' + value: '[{"url_path":"/about","filename":"about.html.j2"},{"url_path":"/calculator-cern/user-guide","filename":"userguide.html.j2"}]' image: '${PROJECT_NAME}/calculator-app' ports: - containerPort: 8080 @@ -362,6 +362,8 @@ value: / - name: CAIMIRA_CALCULATOR_PREFIX value: /calculator-open + - name: EXTRA_PAGES + value: '[{"url_path":"/about","filename":"about.html.j2"},{"url_path":"/calculator-open/user-guide","filename":"userguide.html.j2"}]' image: '${PROJECT_NAME}/calculator-app' ports: - containerPort: 8080