aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/cds
diff options
context:
space:
mode:
authorJulien Fontaine <julien.fontaine@bell.ca>2020-12-17 13:51:38 -0500
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-01-06 07:06:56 +0000
commit063a7a87a33ecb12a6cd656df9e4a14afd223fac (patch)
tree3b521e7439c2d8eed25ea471ec625174696ab670 /kubernetes/cds
parent281262c757a35bd065d60c4c50b78b619fc372a9 (diff)
[CDS] Removed USE_SCRIPT_COMPILE_CACHE environment variable
USE_SCRIPT_COMPILE_CACHE is not used anymore because of CCSDK-3052 changes. * Cleaned up of `.Values.useScriptCompileCache` references Issue-ID: CCSDK-3052 Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca> Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I1c4a58a72c0ebd6210cc5deaf835eb0862af9d5c
Diffstat (limited to 'kubernetes/cds')
-rwxr-xr-xkubernetes/cds/components/cds-blueprints-processor/templates/deployment.yaml5
-rwxr-xr-xkubernetes/cds/components/cds-blueprints-processor/values.yaml2
2 files changed, 1 insertions, 6 deletions
diff --git a/kubernetes/cds/components/cds-blueprints-processor/templates/deployment.yaml b/kubernetes/cds/components/cds-blueprints-processor/templates/deployment.yaml
index f321e54fd1..9645b20cd2 100755
--- a/kubernetes/cds/components/cds-blueprints-processor/templates/deployment.yaml
+++ b/kubernetes/cds/components/cds-blueprints-processor/templates/deployment.yaml
@@ -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
diff --git a/kubernetes/cds/components/cds-blueprints-processor/values.yaml b/kubernetes/cds/components/cds-blueprints-processor/values.yaml
index 629b8252cc..1b456983f7 100755
--- a/kubernetes/cds/components/cds-blueprints-processor/values.yaml
+++ b/kubernetes/cds/components/cds-blueprints-processor/values.yaml
@@ -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