106 lines
3.5 KiB
JSON
106 lines
3.5 KiB
JSON
{
|
|
"description": "SupportBundle is where Longhorn stores support bundle object",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"type": "object"
|
|
},
|
|
"spec": {
|
|
"description": "SupportBundleSpec defines the desired state of the Longhorn SupportBundle",
|
|
"properties": {
|
|
"description": {
|
|
"description": "A brief description of the issue",
|
|
"type": "string"
|
|
},
|
|
"issueURL": {
|
|
"description": "The issue URL",
|
|
"nullable": true,
|
|
"type": "string"
|
|
},
|
|
"nodeID": {
|
|
"description": "The preferred responsible controller node ID.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"description"
|
|
],
|
|
"type": "object",
|
|
"additionalProperties": false
|
|
},
|
|
"status": {
|
|
"description": "SupportBundleStatus defines the observed state of the Longhorn SupportBundle",
|
|
"properties": {
|
|
"conditions": {
|
|
"items": {
|
|
"properties": {
|
|
"lastProbeTime": {
|
|
"description": "Last time we probed the condition.",
|
|
"type": "string"
|
|
},
|
|
"lastTransitionTime": {
|
|
"description": "Last time the condition transitioned from one status to another.",
|
|
"type": "string"
|
|
},
|
|
"message": {
|
|
"description": "Human-readable message indicating details about last transition.",
|
|
"type": "string"
|
|
},
|
|
"reason": {
|
|
"description": "Unique, one-word, CamelCase reason for the condition's last transition.",
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"description": "Status is the status of the condition.\nCan be True, False, Unknown.",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"description": "Type is the type of the condition.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"additionalProperties": false
|
|
},
|
|
"type": "array"
|
|
},
|
|
"filename": {
|
|
"type": "string"
|
|
},
|
|
"filesize": {
|
|
"format": "int64",
|
|
"type": "integer"
|
|
},
|
|
"image": {
|
|
"description": "The support bundle manager image",
|
|
"type": "string"
|
|
},
|
|
"managerIP": {
|
|
"description": "The support bundle manager IP",
|
|
"type": "string"
|
|
},
|
|
"ownerID": {
|
|
"description": "The current responsible controller node ID",
|
|
"type": "string"
|
|
},
|
|
"progress": {
|
|
"type": "integer"
|
|
},
|
|
"state": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|