SEBA-611 Add xproto-test target and fix linting issues

Change-Id: I5f594fbfcae6dec8a15f9713825f3695f154f96c
diff --git a/Makefile b/Makefile
index 98f9de9..866a53c 100644
--- a/Makefile
+++ b/Makefile
@@ -52,7 +52,7 @@
 docker-push:
 	docker push ${DOCKER_IMAGENAME}
 
-test: test-unit test-migration
+test: test-unit test-migration test-xproto
 
 test-unit:
 	tox
@@ -70,6 +70,10 @@
 	source ./venv-service/bin/activate; set -u;\
     cd xos; xos-migrate --xos-dir ${XOS_DIR} --services-dir ${SERVICES_DIR} -s ${SERVICE_NAME} --check
 
+test-xproto: venv-service
+	source ./venv-service/bin/activate; set -u;\
+    xosgenx --lint --strict xos/synchronizer/models/kubernetes.xproto
+
 clean:
 	find . -name '*.pyc' | xargs rm -f
 	rm -rf \
diff --git a/xos/synchronizer/models/kubernetes.xproto b/xos/synchronizer/models/kubernetes.xproto
index dfcc072..a148d8a 100644
--- a/xos/synchronizer/models/kubernetes.xproto
+++ b/xos/synchronizer/models/kubernetes.xproto
@@ -43,7 +43,8 @@
         help_text = "Name of this data store",
         max_length=256];
     optional string data = 2 [
-        help_text = "Set of key,value pairs encoded as a json dictionary"];
+        help_text = "Set of key,value pairs encoded as a json dictionary",
+        text = True];
     required manytoone trust_domain->TrustDomain:kubernetes_configmaps = 3:1003 [
         help_text = "Trust domain this data resides in",
         db_index = True];