Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update annotations to spec for aai
[oom.git]
/
kubernetes
/
log
/
templates
/
elasticsearch-deployment.yaml
diff --git
a/kubernetes/log/templates/elasticsearch-deployment.yaml
b/kubernetes/log/templates/elasticsearch-deployment.yaml
index
75df8a1
..
c123df1
100644
(file)
--- a/
kubernetes/log/templates/elasticsearch-deployment.yaml
+++ b/
kubernetes/log/templates/elasticsearch-deployment.yaml
@@
-1,3
+1,4
@@
+#{{ if not .Values.disableLogElasticsearch }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
@@
-50,10
+51,11
@@
spec:
protocol: TCP
readinessProbe:
tcpSocket:
protocol: TCP
readinessProbe:
tcpSocket:
- port: 9
2
00
+ port: 9
3
00
volumeMounts:
volumeMounts:
- - mountPath: /usr/share/elasticsearch/conf
/
+ - mountPath: /usr/share/elasticsearch/conf
ig/elasticsearch.yml
name: elasticsearch-conf
name: elasticsearch-conf
+ subPath: elasticsearch.yml
- mountPath: /usr/share/elasticsearch/data/
name: elasticsearch-data
- mountPath: /usr/share/elasticsearch/logs/
- mountPath: /usr/share/elasticsearch/data/
name: elasticsearch-data
- mountPath: /usr/share/elasticsearch/logs/
@@
-78,4
+80,6
@@
metadata:
name: elasticsearch-configmap
namespace: {{ .Values.nsPrefix }}-log
data:
name: elasticsearch-configmap
namespace: {{ .Values.nsPrefix }}-log
data:
-{{ (.Files.Glob "resources/elasticsearch/conf/elasticsearch.yml").AsConfig | indent 2 }}
\ No newline at end of file
+{{ (.Files.Glob "resources/elasticsearch/conf/elasticsearch.yml").AsConfig | indent 2 }}
+#{{ end }}
+