[VOL-2736]host and port should be specified as a single argument not as two separate arguments
Change-Id: I4b358bd6272fa239f74955abd7e94d3a908b595f
diff --git a/voltha-adapter-openolt/templates/openolt-deploy.yaml b/voltha-adapter-openolt/templates/openolt-deploy.yaml
index ab37ca3..4cb5ffc 100644
--- a/voltha-adapter-openolt/templates/openolt-deploy.yaml
+++ b/voltha-adapter-openolt/templates/openolt-deploy.yaml
@@ -78,18 +78,15 @@
value: {{ .Values.defaults.kv_store_data_prefix }}
args:
- "/app/openolt"
- - "--kafka_adapter_host={{ .Values.services.kafka.adapter.service }}"
- - "--kafka_adapter_port={{ .Values.services.kafka.adapter.port }}"
- - "--kafka_cluster_host={{ .Values.services.kafka.cluster.service }}"
- - "--kafka_cluster_port={{ .Values.services.kafka.cluster.port }}"
+ - "--kafka_adapter_address={{ .Values.services.kafka.adapter.service }}:{{ .Values.services.kafka.adapter.port }}"
+ - "--kafka_cluster_address={{ .Values.services.kafka.cluster.service }}:{{ .Values.services.kafka.cluster.port }}"
- "--core_topic={{ .Values.defaults.topics.core_topic }}"
- "--adapter_topic={{ .Values.defaults.topics.adapter_open_olt_topic }}"
- - "--kv_store_host={{ .Values.services.etcd.service }}"
- - "--kv_store_port={{ .Values.services.etcd.port }}"
+ - "--kv_store_address={{ .Values.services.etcd.service }}:{{ .Values.services.etcd.port }}"
- "--log_level={{ $log_level }}"
- "--current_replica={{ .Values.replicas.current_replica }}"
- "--total_replica={{ .Values.replicas.total_replica }}"
- - "--probe_port=8080"
+ - "--probe_address=:8080"
{{- if .Values.securityContext.enabled }}
securityContext:
allowPrivilegeEscalation: false