|
1 | 1 | apiVersion: apiextensions.k8s.io/v1 |
2 | 2 | kind: CustomResourceDefinition |
| 3 | +metadata: |
| 4 | + annotations: |
| 5 | + controller-gen.kubebuilder.io/version: v0.18.0 |
| 6 | + name: openstackassistants.assistant.openstack.org |
| 7 | +spec: |
| 8 | + group: assistant.openstack.org |
| 9 | + names: |
| 10 | + kind: OpenStackAssistant |
| 11 | + listKind: OpenStackAssistantList |
| 12 | + plural: openstackassistants |
| 13 | + shortNames: |
| 14 | + - osassistant |
| 15 | + - osassistants |
| 16 | + singular: openstackassistant |
| 17 | + scope: Namespaced |
| 18 | + versions: |
| 19 | + - additionalPrinterColumns: |
| 20 | + - description: Status |
| 21 | + jsonPath: .status.conditions[0].status |
| 22 | + name: Status |
| 23 | + type: string |
| 24 | + - description: Message |
| 25 | + jsonPath: .status.conditions[0].message |
| 26 | + name: Message |
| 27 | + type: string |
| 28 | + name: v1beta1 |
| 29 | + schema: |
| 30 | + openAPIV3Schema: |
| 31 | + description: OpenStackAssistant is the Schema for the openstackassistants |
| 32 | + API |
| 33 | + properties: |
| 34 | + apiVersion: |
| 35 | + description: |- |
| 36 | + APIVersion defines the versioned schema of this representation of an object. |
| 37 | + Servers should convert recognized schemas to the latest internal value, and |
| 38 | + may reject unrecognized values. |
| 39 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
| 40 | + type: string |
| 41 | + kind: |
| 42 | + description: |- |
| 43 | + Kind is a string value representing the REST resource this object represents. |
| 44 | + Servers may infer this from the endpoint the client submits requests to. |
| 45 | + Cannot be updated. |
| 46 | + In CamelCase. |
| 47 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| 48 | + type: string |
| 49 | + metadata: |
| 50 | + type: object |
| 51 | + spec: |
| 52 | + description: OpenStackAssistantSpec defines the desired state of OpenStackAssistant |
| 53 | + properties: |
| 54 | + containerImage: |
| 55 | + description: ContainerImage for the assistant container. |
| 56 | + type: string |
| 57 | + env: |
| 58 | + description: Env is a list of additional environment variables for |
| 59 | + the container. |
| 60 | + items: |
| 61 | + description: EnvVar represents an environment variable present in |
| 62 | + a Container. |
| 63 | + properties: |
| 64 | + name: |
| 65 | + description: Name of the environment variable. Must be a C_IDENTIFIER. |
| 66 | + type: string |
| 67 | + value: |
| 68 | + description: |- |
| 69 | + Variable references $(VAR_NAME) are expanded |
| 70 | + using the previously defined environment variables in the container and |
| 71 | + any service environment variables. If a variable cannot be resolved, |
| 72 | + the reference in the input string will be unchanged. Double $$ are reduced |
| 73 | + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. |
| 74 | + "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". |
| 75 | + Escaped references will never be expanded, regardless of whether the variable |
| 76 | + exists or not. |
| 77 | + Defaults to "". |
| 78 | + type: string |
| 79 | + valueFrom: |
| 80 | + description: Source for the environment variable's value. Cannot |
| 81 | + be used if value is not empty. |
| 82 | + properties: |
| 83 | + configMapKeyRef: |
| 84 | + description: Selects a key of a ConfigMap. |
| 85 | + properties: |
| 86 | + key: |
| 87 | + description: The key to select. |
| 88 | + type: string |
| 89 | + name: |
| 90 | + default: "" |
| 91 | + description: |- |
| 92 | + Name of the referent. |
| 93 | + This field is effectively required, but due to backwards compatibility is |
| 94 | + allowed to be empty. Instances of this type with an empty value here are |
| 95 | + almost certainly wrong. |
| 96 | + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
| 97 | + type: string |
| 98 | + optional: |
| 99 | + description: Specify whether the ConfigMap or its key |
| 100 | + must be defined |
| 101 | + type: boolean |
| 102 | + required: |
| 103 | + - key |
| 104 | + type: object |
| 105 | + x-kubernetes-map-type: atomic |
| 106 | + fieldRef: |
| 107 | + description: |- |
| 108 | + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`, |
| 109 | + spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. |
| 110 | + properties: |
| 111 | + apiVersion: |
| 112 | + description: Version of the schema the FieldPath is |
| 113 | + written in terms of, defaults to "v1". |
| 114 | + type: string |
| 115 | + fieldPath: |
| 116 | + description: Path of the field to select in the specified |
| 117 | + API version. |
| 118 | + type: string |
| 119 | + required: |
| 120 | + - fieldPath |
| 121 | + type: object |
| 122 | + x-kubernetes-map-type: atomic |
| 123 | + resourceFieldRef: |
| 124 | + description: |- |
| 125 | + Selects a resource of the container: only resources limits and requests |
| 126 | + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. |
| 127 | + properties: |
| 128 | + containerName: |
| 129 | + description: 'Container name: required for volumes, |
| 130 | + optional for env vars' |
| 131 | + type: string |
| 132 | + divisor: |
| 133 | + anyOf: |
| 134 | + - type: integer |
| 135 | + - type: string |
| 136 | + description: Specifies the output format of the exposed |
| 137 | + resources, defaults to "1" |
| 138 | + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ |
| 139 | + x-kubernetes-int-or-string: true |
| 140 | + resource: |
| 141 | + description: 'Required: resource to select' |
| 142 | + type: string |
| 143 | + required: |
| 144 | + - resource |
| 145 | + type: object |
| 146 | + x-kubernetes-map-type: atomic |
| 147 | + secretKeyRef: |
| 148 | + description: Selects a key of a secret in the pod's namespace |
| 149 | + properties: |
| 150 | + key: |
| 151 | + description: The key of the secret to select from. Must |
| 152 | + be a valid secret key. |
| 153 | + type: string |
| 154 | + name: |
| 155 | + default: "" |
| 156 | + description: |- |
| 157 | + Name of the referent. |
| 158 | + This field is effectively required, but due to backwards compatibility is |
| 159 | + allowed to be empty. Instances of this type with an empty value here are |
| 160 | + almost certainly wrong. |
| 161 | + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
| 162 | + type: string |
| 163 | + optional: |
| 164 | + description: Specify whether the Secret or its key must |
| 165 | + be defined |
| 166 | + type: boolean |
| 167 | + required: |
| 168 | + - key |
| 169 | + type: object |
| 170 | + x-kubernetes-map-type: atomic |
| 171 | + type: object |
| 172 | + required: |
| 173 | + - name |
| 174 | + type: object |
| 175 | + type: array |
| 176 | + x-kubernetes-list-map-keys: |
| 177 | + - name |
| 178 | + x-kubernetes-list-type: map |
| 179 | + goose: |
| 180 | + description: |- |
| 181 | + Goose contains Goose-specific provider configuration. |
| 182 | + Only applicable when provider is "goose". |
| 183 | + properties: |
| 184 | + hints: |
| 185 | + description: |- |
| 186 | + Hints is a ConfigMap name containing Goose hints/context. |
| 187 | + The ConfigMap must have a key "hints" with the content that |
| 188 | + will be written to ~/.goosehints in the pod. |
| 189 | + type: string |
| 190 | + recipes: |
| 191 | + description: |- |
| 192 | + Recipes is a ConfigMap name containing Goose recipe YAML files. |
| 193 | + Each key in the ConfigMap becomes a recipe file registered as a |
| 194 | + Goose slash command (e.g., /cluster-health). |
| 195 | + type: string |
| 196 | + type: object |
| 197 | + lightspeedStack: |
| 198 | + description: LightspeedStack configuration for the AI backend. |
| 199 | + properties: |
| 200 | + caBundleSecretName: |
| 201 | + description: |- |
| 202 | + CaBundleSecretName is the name of a Secret containing CA certs |
| 203 | + to trust for TLS connections to the lightspeed-stack endpoint. |
| 204 | + The Secret must contain a key "ca-bundle.crt" with PEM-encoded certs. |
| 205 | + type: string |
| 206 | + providerSecret: |
| 207 | + description: |- |
| 208 | + ProviderSecret is the name of a Secret containing the lightspeed |
| 209 | + provider config JSON (custom_providers/lightspeed.json content). |
| 210 | + Must contain key "lightspeed.json". |
| 211 | + type: string |
| 212 | + required: |
| 213 | + - providerSecret |
| 214 | + type: object |
| 215 | + nodeSelector: |
| 216 | + additionalProperties: |
| 217 | + type: string |
| 218 | + description: NodeSelector to target subset of worker nodes for pod |
| 219 | + scheduling. |
| 220 | + type: object |
| 221 | + provider: |
| 222 | + default: goose |
| 223 | + description: Provider is the AI agent provider type. Currently only |
| 224 | + "goose" is supported. |
| 225 | + enum: |
| 226 | + - goose |
| 227 | + type: string |
| 228 | + required: |
| 229 | + - containerImage |
| 230 | + - lightspeedStack |
| 231 | + type: object |
| 232 | + status: |
| 233 | + description: OpenStackAssistantStatus defines the observed state of OpenStackAssistant |
| 234 | + properties: |
| 235 | + conditions: |
| 236 | + description: Conditions tracks the state of each sub-resource |
| 237 | + items: |
| 238 | + description: Condition defines an observation of a API resource |
| 239 | + operational state. |
| 240 | + properties: |
| 241 | + lastTransitionTime: |
| 242 | + description: |- |
| 243 | + Last time the condition transitioned from one status to another. |
| 244 | + This should be when the underlying condition changed. If that is not known, then using the time when |
| 245 | + the API field changed is acceptable. |
| 246 | + format: date-time |
| 247 | + type: string |
| 248 | + message: |
| 249 | + description: A human readable message indicating details about |
| 250 | + the transition. |
| 251 | + type: string |
| 252 | + reason: |
| 253 | + description: The reason for the condition's last transition |
| 254 | + in CamelCase. |
| 255 | + type: string |
| 256 | + severity: |
| 257 | + description: |- |
| 258 | + Severity provides a classification of Reason code, so the current situation is immediately |
| 259 | + understandable and could act accordingly. |
| 260 | + It is meant for situations where Status=False and it should be indicated if it is just |
| 261 | + informational, warning (next reconciliation might fix it) or an error (e.g. DB create issue |
| 262 | + and no actions to automatically resolve the issue can/should be done). |
| 263 | + For conditions where Status=Unknown or Status=True the Severity should be SeverityNone. |
| 264 | + type: string |
| 265 | + status: |
| 266 | + description: Status of the condition, one of True, False, Unknown. |
| 267 | + type: string |
| 268 | + type: |
| 269 | + description: Type of condition in CamelCase. |
| 270 | + type: string |
| 271 | + required: |
| 272 | + - lastTransitionTime |
| 273 | + - status |
| 274 | + - type |
| 275 | + type: object |
| 276 | + type: array |
| 277 | + hash: |
| 278 | + additionalProperties: |
| 279 | + type: string |
| 280 | + description: Hash tracks input hashes to detect changes |
| 281 | + type: object |
| 282 | + observedGeneration: |
| 283 | + description: ObservedGeneration - the most recent generation observed |
| 284 | + format: int64 |
| 285 | + type: integer |
| 286 | + podName: |
| 287 | + description: PodName is the name of the running assistant pod |
| 288 | + type: string |
| 289 | + type: object |
| 290 | + type: object |
| 291 | + served: true |
| 292 | + storage: true |
| 293 | + subresources: |
| 294 | + status: {} |
| 295 | +--- |
| 296 | +apiVersion: apiextensions.k8s.io/v1 |
| 297 | +kind: CustomResourceDefinition |
3 | 298 | metadata: |
4 | 299 | annotations: |
5 | 300 | controller-gen.kubebuilder.io/version: v0.18.0 |
|
0 commit comments