Merge "[CDS] Removed USE_SCRIPT_COMPILE_CACHE environment variable"
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Wed, 6 Jan 2021 10:34:55 +0000 (10:34 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 6 Jan 2021 10:34:55 +0000 (10:34 +0000)
kubernetes/cds/components/cds-blueprints-processor/templates/deployment.yaml
kubernetes/cds/components/cds-blueprints-processor/values.yaml

index f321e54..9645b20 100755 (executable)
@@ -109,11 +109,8 @@ spec:
           env:
           - name: APP_CONFIG_HOME
             value: {{ .Values.config.appConfigDir }}
-          - name: USE_SCRIPT_COMPILE_CACHE
-            value: {{ .Values.config.useScriptCompileCache | quote }}
-          # Cluster should only be enabled when replicaCount is more than 2 and useScriptCompileCache is set to false otherwise it won't work properly
           - name: CLUSTER_ENABLED
-            value: {{ if and (gt (int (.Values.replicaCount)) 2) (not .Values.config.useScriptCompileCache) }} {{ .Values.cluster.enabled | quote }} {{ else }} "false" {{ end }}
+            value: {{ if (gt (int (.Values.replicaCount)) 2) }} {{ .Values.cluster.enabled | quote }} {{ else }} "false" {{ end }}
           - name: CLUSTER_ID
             value: {{ .Values.cluster.clusterName }}
           - name: CLUSTER_NODE_ID
index 629b825..1b45698 100755 (executable)
@@ -60,7 +60,6 @@ debugEnabled: false
 # application configuration
 config:
   appConfigDir: /opt/app/onap/config
-  useScriptCompileCache: false
   sdncDB:
     dbService: mariadb-galera
     dbPort: 3306
@@ -130,7 +129,6 @@ persistence:
 
 cluster:
   # Cannot have cluster enabled if the replicaCount is not at least 3
-  # AND config value useScriptCompileCache is not set to false
   enabled: true
 
   clusterName: cds-cluster