Merge "nsPrefix changes in msb"
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>
Fri, 4 May 2018 19:26:06 +0000 (19:26 +0000)
committerGerrit Code Review <gerrit@onap.org>
Fri, 4 May 2018 19:26:06 +0000 (19:26 +0000)
kubernetes/msb/resources/config/log/filebeat/filebeat.yml
kubernetes/msb/values.yaml

index 89c6932..0bc14ea 100644 (file)
@@ -21,7 +21,7 @@ output.logstash:
   #List of logstash server ip addresses with port number.
   #But, in our case, this will be the loadbalancer IP address.
   #For the below property to work the loadbalancer or logstash should expose 5044 port to listen the filebeat events or port in the property should be changed appropriately.
-  hosts: ["logstash.{{.Values.nsPrefix}}:5044"]
+  hosts: ["{{.Values.config.logstashServiceName}}:{{.Values.config.logstashPort}}"]
   #If enable will do load balancing among availabe Logstash, automatically.
   loadbalance: true
 
index 2a0dbe2..d9de3fa 100644 (file)
@@ -20,3 +20,9 @@ global:
   repositorySecret: eyJuZXh1czMub25hcC5vcmc6MTAwMDEiOnsidXNlcm5hbWUiOiJkb2NrZXIiLCJwYXNzd29yZCI6ImRvY2tlciIsImVtYWlsIjoiQCIsImF1dGgiOiJaRzlqYTJWeU9tUnZZMnRsY2c9PSJ9fQ==
   loggingRepository: docker.elastic.co
   loggingImage: beats/filebeat:5.5.0
+
+# application configuration
+config:
+  logstashServiceName: log-ls
+  logstashPort: 5044
+