revert OOM-420 to avoid helm 2.3+ upgrade 25/24225/3
authorMichael O'Brien <frank.obrien@amdocs.com>
Sat, 18 Nov 2017 01:20:24 +0000 (20:20 -0500)
committerAlexis de Talhouët <alexis.de_talhouet@bell.ca>
Mon, 27 Nov 2017 16:10:03 +0000 (16:10 +0000)
Issue-ID: OOM-441

Change-Id: I657b9c169dcfc9a8320277f14b5b7908dd2cdf2a
Signed-off-by: Michael O'Brien <frank.obrien@amdocs.com>
kubernetes/log/resources/kibana/conf/kibana.yml
kubernetes/log/resources/logstash/pipeline/onap-pipeline.conf
kubernetes/log/templates/kibana-deployment.yaml
kubernetes/log/templates/logstash-deployment.yaml

index 3bdb2fe..3b96bd3 100644 (file)
@@ -30,7 +30,8 @@ server.host: "0"
 server.name: "Kibana"
 
 # The URL of the Elasticsearch instance to use for all your queries.
-elasticsearch.url: "http://elasticsearch.{{ .Values.nsPrefix }}-log:9200"
+# OOM-427, OOM-441 hardcoded onap workspace to avoid helm upgrade past 2.3
+elasticsearch.url: "http://elasticsearch.onap-log:9200"
 #elasticsearch-service.onap-log:9200"
 #elasticsearch.url: "http://10.247.47.3:9200"
 # When this setting's value is true Kibana uses the hostname specified in the server.host
index 229bcc1..b425550 100644 (file)
@@ -224,7 +224,8 @@ output {
 
 #can specify one or a list of hosts. If sniffing is set, one is enough and others will be auto-discovered
 ##Also protocol can be specified like ["http://10.247.186.12:9200"]
- hosts => ["http://elasticsearch.{{.Values.nsPrefix}}-log:9200"]
+## OOM-427, OOM-441 hardcoded onap workspace to avoid helm upgrade past 2.3
+ hosts => ["http://elasticsearch.onap-log:9200"]
 
 
  ## This setting asks Elasticsearch for the list of all cluster nodes and adds them to the hosts list. Default is false.
index 459ecfe..e48cbb4 100644 (file)
@@ -69,5 +69,5 @@ metadata:
   name: kibana-configmap
   namespace: {{ .Values.nsPrefix }}-log
 data:
-{{ tpl (.Files.Glob "resources/kibana/conf/kibana.yml").AsConfig . | indent 2 }}
+{{ (.Files.Glob "resources/kibana/conf/kibana.yml").AsConfig | indent 2 }}
 #{{ end }}
index f35c421..d25793e 100644 (file)
@@ -80,5 +80,5 @@ metadata:
   namespace: {{ .Values.nsPrefix }}-log
 data:
 {{ (.Files.Glob "resources/logstash/conf/logstash.yml").AsConfig | indent 2 }}
-{{ tpl (.Files.Glob "resources/logstash/pipeline/onap-pipeline.conf").AsConfig . | indent 2 }}
+{{ (.Files.Glob "resources/logstash/pipeline/onap-pipeline.conf").AsConfig | indent 2 }}
 #{{ end }}