aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/cds/components/cds-blueprints-processor/templates/deployment.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-01-06 10:34:55 +0000
committerGerrit Code Review <gerrit@onap.org>2021-01-06 10:34:55 +0000
commit9b759702f0cc15b9f20cb71c77e61da7379b3b43 (patch)
treeb582f25a6c1bffa9616cd383422a5769662764d6 /kubernetes/cds/components/cds-blueprints-processor/templates/deployment.yaml
parent4606cec636914dc93d5ba09be64e376d6f224984 (diff)
parent063a7a87a33ecb12a6cd656df9e4a14afd223fac (diff)
Merge "[CDS] Removed USE_SCRIPT_COMPILE_CACHE environment variable"
Diffstat (limited to 'kubernetes/cds/components/cds-blueprints-processor/templates/deployment.yaml')
-rwxr-xr-xkubernetes/cds/components/cds-blueprints-processor/templates/deployment.yaml5
1 files changed, 1 insertions, 4 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