Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Run all components in one namespace
[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
85e5746
..
2b596d2
100644
(file)
--- a/
kubernetes/log/templates/elasticsearch-deployment.yaml
+++ b/
kubernetes/log/templates/elasticsearch-deployment.yaml
@@
-4,8
+4,8
@@
kind: Deployment
metadata:
labels:
app: elasticsearch
metadata:
labels:
app: elasticsearch
- name: elasticsearch
- namespace: {{ .Values.nsPrefix }}
-log
+ name:
log-
elasticsearch
+ namespace: {{ .Values.nsPrefix }}
spec:
selector:
matchLabels:
spec:
selector:
matchLabels:
@@
-14,7
+14,7
@@
spec:
metadata:
labels:
app: elasticsearch
metadata:
labels:
app: elasticsearch
- name: elasticsearch
+ name:
log-
elasticsearch
spec:
initContainers:
- command:
spec:
initContainers:
- command:
@@
-70,7
+70,7
@@
spec:
path: {{ .Values.dataRootDir }}/{{ .Values.nsPrefix }}/log/
- name: elasticsearch-conf
configMap:
path: {{ .Values.dataRootDir }}/{{ .Values.nsPrefix }}/log/
- name: elasticsearch-conf
configMap:
- name: elasticsearch-configmap
+ name:
log-
elasticsearch-configmap
items:
- key: elasticsearch.yml
path: elasticsearch.yml
items:
- key: elasticsearch.yml
path: elasticsearch.yml
@@
-78,8
+78,8
@@
spec:
apiVersion: v1
kind: ConfigMap
metadata:
apiVersion: v1
kind: ConfigMap
metadata:
- name: elasticsearch-configmap
- namespace: {{ .Values.nsPrefix }}
-log
+ name:
log-
elasticsearch-configmap
+ namespace: {{ .Values.nsPrefix }}
data:
{{ (.Files.Glob "resources/elasticsearch/conf/elasticsearch.yml").AsConfig | indent 2 }}
#{{ end }}
data:
{{ (.Files.Glob "resources/elasticsearch/conf/elasticsearch.yml").AsConfig | indent 2 }}
#{{ end }}