Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "[CMPV2] Add a template for Certificate (cert-manager)"
[oom.git]
/
kubernetes
/
cds
/
components
/
cds-blueprints-processor
/
templates
/
deployment.yaml
diff --git
a/kubernetes/cds/components/cds-blueprints-processor/templates/deployment.yaml
b/kubernetes/cds/components/cds-blueprints-processor/templates/deployment.yaml
index
f321e54
..
9645b20
100755
(executable)
--- 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 }}
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
- 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
- name: CLUSTER_ID
value: {{ .Values.cluster.clusterName }}
- name: CLUSTER_NODE_ID