From ff59ca1694ae47b6c5709677ef478e90ce10e4a5 Mon Sep 17 00:00:00 2001 From: Daria Mayorova Date: Thu, 14 Jun 2018 13:32:59 +0200 Subject: [PATCH] Remove some deprecated parameters and add a few extra --- openshift/apicast-template.yml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/openshift/apicast-template.yml b/openshift/apicast-template.yml index cab6292c8..3601e28e8 100644 --- a/openshift/apicast-template.yml +++ b/openshift/apicast-template.yml @@ -40,8 +40,6 @@ objects: value: "${SERVICES_LIST}" - name: APICAST_CONFIGURATION_LOADER value: "${CONFIGURATION_LOADER}" - - name: APICAST_BACKEND_CACHE_HANDLER - value: "${BACKEND_CACHE_HANDLER}" - name: APICAST_LOG_LEVEL value: "${LOG_LEVEL}" - name: APICAST_PATH_ROUTING @@ -52,14 +50,14 @@ objects: value: "${CONFIGURATION_CACHE}" - name: REDIS_URL value: "${REDIS_URL}" - - name: APICAST_OAUTH_TOKENS_TTL - value: "${OAUTH_TOKENS_TTL}" - name: APICAST_MANAGEMENT_API value: "${MANAGEMENT_API}" - name: OPENSSL_VERIFY value: "${OPENSSL_VERIFY}" - name: APICAST_REPORTING_THREADS value: "${REPORTING_THREADS}" + - name: APICAST_WORKERS + value: "${APICAST_WORKERS}" image: "${IMAGE_NAME}" imagePullPolicy: Always name: "${APICAST_NAME}" @@ -122,6 +120,9 @@ parameters: value: apicast name: APICAST_NAME required: true +- description: "Number of worker processes to start." + name: APICAST_WORKERS + required: false - description: "DNS Resolver for openresty, if empty it will be autodiscovered" value: name: RESOLVER @@ -134,10 +135,6 @@ parameters: description: "When to load configuration. If on gateway start or incoming request. Allowed values are: lazy, boot." value: boot required: false -- name: BACKEND_CACHE_HANDLER - description: "How to handle and cache backend authorization responses. Can be one of: strict, resilient." - value: strict - required: false - description: "Log level. One of the following: debug, info, notice, warn, error, crit, alert, or emerg." name: LOG_LEVEL required: false @@ -156,10 +153,6 @@ parameters: - description: "Redis URL. Required for OAuth2 integration. ex: redis://PASSWORD@127.0.0.1:6379/0" name: REDIS_URL required: false -- description: "TTL (in seconds) of the oauth tokens created." - name: OAUTH_TOKENS_TTL - required: false - value: "604800" - name: MANAGEMENT_API description: "Scope of the Management API. Can be disabled, status or debug. At least status required for health checks." required: false