locostack.com_externalknowledgebases.yaml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. ---
  2. apiVersion: apiextensions.k8s.io/v1
  3. kind: CustomResourceDefinition
  4. metadata:
  5. annotations:
  6. controller-gen.kubebuilder.io/version: v0.20.1
  7. name: externalknowledgebases.locostack.com
  8. spec:
  9. group: locostack.com
  10. names:
  11. kind: ExternalKnowledgeBase
  12. listKind: ExternalKnowledgeBaseList
  13. plural: externalknowledgebases
  14. singular: externalknowledgebase
  15. scope: Namespaced
  16. versions:
  17. - name: v1alpha1
  18. schema:
  19. openAPIV3Schema:
  20. description: ExternalKnowledgeBase is the Schema for the externalknowledgebases
  21. API
  22. properties:
  23. apiVersion:
  24. description: |-
  25. APIVersion defines the versioned schema of this representation of an object.
  26. Servers should convert recognized schemas to the latest internal value, and
  27. may reject unrecognized values.
  28. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
  29. type: string
  30. kind:
  31. description: |-
  32. Kind is a string value representing the REST resource this object represents.
  33. Servers may infer this from the endpoint the client submits requests to.
  34. Cannot be updated.
  35. In CamelCase.
  36. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
  37. type: string
  38. metadata:
  39. type: object
  40. spec:
  41. description: spec defines the desired state of ExternalKnowledgeBase
  42. properties:
  43. foo:
  44. description: foo is an example field of ExternalKnowledgeBase. Edit
  45. externalknowledgebase_types.go to remove/update
  46. type: string
  47. type: object
  48. status:
  49. description: status defines the observed state of ExternalKnowledgeBase
  50. properties:
  51. conditions:
  52. description: |-
  53. conditions represent the current state of the ExternalKnowledgeBase resource.
  54. Each condition has a unique type and reflects the status of a specific aspect of the resource.
  55. Standard condition types include:
  56. - "Available": the resource is fully functional
  57. - "Progressing": the resource is being created or updated
  58. - "Degraded": the resource failed to reach or maintain its desired state
  59. The status of each condition is one of True, False, or Unknown.
  60. items:
  61. description: Condition contains details for one aspect of the current
  62. state of this API Resource.
  63. properties:
  64. lastTransitionTime:
  65. description: |-
  66. lastTransitionTime is the last time the condition transitioned from one status to another.
  67. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
  68. format: date-time
  69. type: string
  70. message:
  71. description: |-
  72. message is a human readable message indicating details about the transition.
  73. This may be an empty string.
  74. maxLength: 32768
  75. type: string
  76. observedGeneration:
  77. description: |-
  78. observedGeneration represents the .metadata.generation that the condition was set based upon.
  79. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
  80. with respect to the current state of the instance.
  81. format: int64
  82. minimum: 0
  83. type: integer
  84. reason:
  85. description: |-
  86. reason contains a programmatic identifier indicating the reason for the condition's last transition.
  87. Producers of specific condition types may define expected values and meanings for this field,
  88. and whether the values are considered a guaranteed API.
  89. The value should be a CamelCase string.
  90. This field may not be empty.
  91. maxLength: 1024
  92. minLength: 1
  93. pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
  94. type: string
  95. status:
  96. description: status of the condition, one of True, False, Unknown.
  97. enum:
  98. - "True"
  99. - "False"
  100. - Unknown
  101. type: string
  102. type:
  103. description: type of condition in CamelCase or in foo.example.com/CamelCase.
  104. maxLength: 316
  105. pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
  106. type: string
  107. required:
  108. - lastTransitionTime
  109. - message
  110. - reason
  111. - status
  112. - type
  113. type: object
  114. type: array
  115. x-kubernetes-list-map-keys:
  116. - type
  117. x-kubernetes-list-type: map
  118. type: object
  119. required:
  120. - spec
  121. type: object
  122. served: true
  123. storage: true
  124. subresources:
  125. status: {}