CORD-3224 base KubernetesResourceInstance on ServiceInstance
Change-Id: I87a4f777aff94e23bcecb12d169679760f563a44
diff --git a/xos/synchronizer/models/kubernetes.xproto b/xos/synchronizer/models/kubernetes.xproto
index 06aae56..cfb57af 100644
--- a/xos/synchronizer/models/kubernetes.xproto
+++ b/xos/synchronizer/models/kubernetes.xproto
@@ -6,10 +6,8 @@
}
-message KubernetesResourceInstance (XOSBase){
+message KubernetesResourceInstance (ServiceInstance){
option verbose_name = "Kubernetes Resource Instance";
- required string name = 1 [db_index = True, max_length = 200, content_type = "stripped", tosca_key=True, unique=True, help_text = "Name of ResourceInstance"];
- required manytoone owner->Service:kubernetes_resource_instances = 2 [db_index = True, null = False, blank = False];
optional string resource_definition = 3 [help_text = "yaml blob"];
optional string kubectl_state = 4 [max_length=32, db_index = False, choices = "(('created', 'CREATED'), ('updated', 'UPDATED'), ('deleted', 'DELETED'))", help_text = "Most recent state of kubectl"];
}