Revert "XOS/NEM charts, use a global registry var, split docker image name/tag/pullPolicy"

This reverts commit 1f58c2afbd680c8c618bff6f66e9982515dd1caf.

Change-Id: I0d7ef37a420168276472675b005482d6d11daabd
diff --git a/xos-services/vtn-service/Chart.yaml b/xos-services/vtn-service/Chart.yaml
index d6097fd..aa8b039 100644
--- a/xos-services/vtn-service/Chart.yaml
+++ b/xos-services/vtn-service/Chart.yaml
@@ -15,8 +15,4 @@
 
 name: vtn-service
 description: A Helm chart for XOS's "vtn-service" service
-icon: https://guide.opencord.org/logos/cord.svg
-
-version: 1.0.1
-appVersion: 1.0.1
-
+version: 1.0.0
diff --git a/xos-services/vtn-service/templates/_helpers.tpl b/xos-services/vtn-service/templates/_helpers.tpl
index 22e1457..ee8abf6 100644
--- a/xos-services/vtn-service/templates/_helpers.tpl
+++ b/xos-services/vtn-service/templates/_helpers.tpl
@@ -62,16 +62,10 @@
       filename: /var/log/xos.log
       maxBytes: 10485760
       backupCount: 5
-    kafka:
-      class: kafkaloghandler.kafkaloghandler.KafkaLogHandler
-      bootstrap_servers:
-        - "cord-kafka:9092"
-      topic: xos.log.vtn-service
   loggers:
     'multistructlog':
       handlers:
         - console
         - file
-        - kafka
       level: DEBUG
 {{- end -}}
diff --git a/xos-services/vtn-service/templates/deployment.yaml b/xos-services/vtn-service/templates/deployment.yaml
index ccecd3a..d18dcc4 100644
--- a/xos-services/vtn-service/templates/deployment.yaml
+++ b/xos-services/vtn-service/templates/deployment.yaml
@@ -38,8 +38,8 @@
     spec:
       containers:
         - name: {{ .Chart.Name }}
-          image: {{ .Values.global.registry }}{{ .Values.image.repository }}:{{ tpl .Values.image.tag . }}
-          imagePullPolicy: {{ .Values.image.pullPolicy }}
+          image: {{ tpl .Values.vtn_synchronizerImage . | quote }}
+          imagePullPolicy: {{ .Values.imagePullPolicy }}
           resources:
 {{ toYaml .Values.resources | indent 12 }}
           volumeMounts:
diff --git a/xos-services/vtn-service/values.yaml b/xos-services/vtn-service/values.yaml
index f15fd29..6c25d21 100644
--- a/xos-services/vtn-service/values.yaml
+++ b/xos-services/vtn-service/values.yaml
@@ -13,7 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# Default values for VTN
+# Default values for TTN
 # This is a YAML-formatted file.
 # Declare variables to be passed into your templates.
 
@@ -22,13 +22,9 @@
 nameOverride: ""
 fullnameOverride: ""
 
-image:
-  repository: 'xosproject/vtn-synchronizer'
-  tag: '{{ .Chart.AppVersion }}'
-  pullPolicy: 'Always'
+imagePullPolicy: 'Always'
 
-global:
-  registry: ''
+vtn_synchronizerImage: "xosproject/vtn-synchronizer:{{ .Chart.Version }}"
 
 xosAdminUser: "admin@opencord.org"
 xosAdminPassword: "letmein"