|
1 | 1 | { |
2 | | - "description": "Account is the Schema for the accounts API.", |
| 2 | + "description": "Account is the composite resource for the accounts API.", |
3 | 3 | "properties": { |
4 | 4 | "apiVersion": { |
5 | 5 | "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", |
|
45 | 45 | "type": "object", |
46 | 46 | "additionalProperties": false |
47 | 47 | }, |
| 48 | + "displayName": { |
| 49 | + "description": "DisplayName is an optional name for the NATS resource representing the account. May be derived if absent.", |
| 50 | + "type": "string" |
| 51 | + }, |
48 | 52 | "exports": { |
49 | 53 | "items": { |
50 | 54 | "properties": { |
|
176 | 180 | }, |
177 | 181 | "type": "array" |
178 | 182 | }, |
| 183 | + "jetStreamEnabled": { |
| 184 | + "description": "JetStreamEnabled indicates whether JetStream should be explicitly enabled or disabled.\nIf absent, JetStream will be implicitly enabled/disabled based on the effective JetStreamLimits.", |
| 185 | + "type": "boolean" |
| 186 | + }, |
179 | 187 | "jetStreamLimits": { |
180 | 188 | "properties": { |
181 | 189 | "consumer": { |
|
221 | 229 | "type": "object", |
222 | 230 | "additionalProperties": false |
223 | 231 | }, |
| 232 | + "natsClusterRef": { |
| 233 | + "description": "NatsClusterRef references the NatsCluster to use for this account.\nIf not specified, the controller uses the operator-level NATS_CLUSTER_REF when configured.\nOtherwise, reconciliation fails because the target NatsCluster cannot be resolved.", |
| 234 | + "properties": { |
| 235 | + "name": { |
| 236 | + "description": "Name of the NatsCluster", |
| 237 | + "type": "string" |
| 238 | + }, |
| 239 | + "namespace": { |
| 240 | + "description": "Namespace of the NatsCluster", |
| 241 | + "type": "string" |
| 242 | + } |
| 243 | + }, |
| 244 | + "required": [ |
| 245 | + "name" |
| 246 | + ], |
| 247 | + "type": "object", |
| 248 | + "additionalProperties": false |
| 249 | + }, |
224 | 250 | "natsLimits": { |
225 | 251 | "properties": { |
226 | 252 | "data": { |
|
249 | 275 | "status": { |
250 | 276 | "description": "AccountStatus defines the observed state of Account.", |
251 | 277 | "properties": { |
| 278 | + "adoptions": { |
| 279 | + "description": "AccountAdoptions defines the status of child resources that have been adopted or are candidates for adoption by this account.", |
| 280 | + "properties": { |
| 281 | + "exports": { |
| 282 | + "description": "Exports defines adoptions of type `AccountExport` that are bound to the account.", |
| 283 | + "items": { |
| 284 | + "properties": { |
| 285 | + "name": { |
| 286 | + "description": "Name the child resource name", |
| 287 | + "minLength": 1, |
| 288 | + "type": "string" |
| 289 | + }, |
| 290 | + "observedGeneration": { |
| 291 | + "description": "ObservedGeneration refers to the observed generation of the child resource.", |
| 292 | + "format": "int64", |
| 293 | + "minimum": 0, |
| 294 | + "type": "integer" |
| 295 | + }, |
| 296 | + "status": { |
| 297 | + "description": "Status of the adoption", |
| 298 | + "properties": { |
| 299 | + "desiredClaimObservedGeneration": { |
| 300 | + "description": "DesiredClaimObservedGeneration refers to the observed generation of the child resource desired claim.", |
| 301 | + "format": "int64", |
| 302 | + "minimum": 0, |
| 303 | + "type": "integer" |
| 304 | + }, |
| 305 | + "message": { |
| 306 | + "description": "Message is a human-readable message indicating details about the adoption.", |
| 307 | + "maxLength": 32768, |
| 308 | + "type": "string" |
| 309 | + }, |
| 310 | + "reason": { |
| 311 | + "description": "Reason contains a programmatic identifier indicating the reason for the adoption's last transition.\nThe value should be a CamelCase string.\nThis field may not be empty.", |
| 312 | + "maxLength": 1024, |
| 313 | + "minLength": 1, |
| 314 | + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", |
| 315 | + "type": "string" |
| 316 | + }, |
| 317 | + "status": { |
| 318 | + "description": "Status of the adoption, one of True, False, Unknown.", |
| 319 | + "enum": [ |
| 320 | + "True", |
| 321 | + "False", |
| 322 | + "Unknown" |
| 323 | + ], |
| 324 | + "type": "string" |
| 325 | + } |
| 326 | + }, |
| 327 | + "required": [ |
| 328 | + "reason", |
| 329 | + "status" |
| 330 | + ], |
| 331 | + "type": "object", |
| 332 | + "additionalProperties": false |
| 333 | + }, |
| 334 | + "uid": { |
| 335 | + "description": "UID of the child resource UID", |
| 336 | + "type": "string" |
| 337 | + } |
| 338 | + }, |
| 339 | + "required": [ |
| 340 | + "name", |
| 341 | + "observedGeneration", |
| 342 | + "status", |
| 343 | + "uid" |
| 344 | + ], |
| 345 | + "type": "object", |
| 346 | + "additionalProperties": false |
| 347 | + }, |
| 348 | + "type": "array" |
| 349 | + }, |
| 350 | + "imports": { |
| 351 | + "description": "Imports defines adoptions of type `AccountImport` that are bound to the account.", |
| 352 | + "items": { |
| 353 | + "properties": { |
| 354 | + "name": { |
| 355 | + "description": "Name the child resource name", |
| 356 | + "minLength": 1, |
| 357 | + "type": "string" |
| 358 | + }, |
| 359 | + "observedGeneration": { |
| 360 | + "description": "ObservedGeneration refers to the observed generation of the child resource.", |
| 361 | + "format": "int64", |
| 362 | + "minimum": 0, |
| 363 | + "type": "integer" |
| 364 | + }, |
| 365 | + "status": { |
| 366 | + "description": "Status of the adoption", |
| 367 | + "properties": { |
| 368 | + "desiredClaimObservedGeneration": { |
| 369 | + "description": "DesiredClaimObservedGeneration refers to the observed generation of the child resource desired claim.", |
| 370 | + "format": "int64", |
| 371 | + "minimum": 0, |
| 372 | + "type": "integer" |
| 373 | + }, |
| 374 | + "message": { |
| 375 | + "description": "Message is a human-readable message indicating details about the adoption.", |
| 376 | + "maxLength": 32768, |
| 377 | + "type": "string" |
| 378 | + }, |
| 379 | + "reason": { |
| 380 | + "description": "Reason contains a programmatic identifier indicating the reason for the adoption's last transition.\nThe value should be a CamelCase string.\nThis field may not be empty.", |
| 381 | + "maxLength": 1024, |
| 382 | + "minLength": 1, |
| 383 | + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", |
| 384 | + "type": "string" |
| 385 | + }, |
| 386 | + "status": { |
| 387 | + "description": "Status of the adoption, one of True, False, Unknown.", |
| 388 | + "enum": [ |
| 389 | + "True", |
| 390 | + "False", |
| 391 | + "Unknown" |
| 392 | + ], |
| 393 | + "type": "string" |
| 394 | + } |
| 395 | + }, |
| 396 | + "required": [ |
| 397 | + "reason", |
| 398 | + "status" |
| 399 | + ], |
| 400 | + "type": "object", |
| 401 | + "additionalProperties": false |
| 402 | + }, |
| 403 | + "uid": { |
| 404 | + "description": "UID of the child resource UID", |
| 405 | + "type": "string" |
| 406 | + } |
| 407 | + }, |
| 408 | + "required": [ |
| 409 | + "name", |
| 410 | + "observedGeneration", |
| 411 | + "status", |
| 412 | + "uid" |
| 413 | + ], |
| 414 | + "type": "object", |
| 415 | + "additionalProperties": false |
| 416 | + }, |
| 417 | + "type": "array" |
| 418 | + } |
| 419 | + }, |
| 420 | + "type": "object", |
| 421 | + "additionalProperties": false |
| 422 | + }, |
252 | 423 | "claims": { |
253 | 424 | "properties": { |
254 | 425 | "accountLimits": { |
|
281 | 452 | "type": "object", |
282 | 453 | "additionalProperties": false |
283 | 454 | }, |
| 455 | + "displayName": { |
| 456 | + "type": "string" |
| 457 | + }, |
284 | 458 | "exports": { |
285 | 459 | "items": { |
286 | 460 | "properties": { |
|
412 | 586 | }, |
413 | 587 | "type": "array" |
414 | 588 | }, |
| 589 | + "jetStreamEnabled": { |
| 590 | + "type": "boolean" |
| 591 | + }, |
415 | 592 | "jetStreamLimits": { |
416 | 593 | "properties": { |
417 | 594 | "consumer": { |
|
477 | 654 | }, |
478 | 655 | "type": "object", |
479 | 656 | "additionalProperties": false |
| 657 | + }, |
| 658 | + "signingKeys": { |
| 659 | + "items": { |
| 660 | + "properties": { |
| 661 | + "key": { |
| 662 | + "type": "string" |
| 663 | + } |
| 664 | + }, |
| 665 | + "type": "object", |
| 666 | + "additionalProperties": false |
| 667 | + }, |
| 668 | + "type": "array" |
480 | 669 | } |
481 | 670 | }, |
482 | 671 | "type": "object", |
483 | 672 | "additionalProperties": false |
484 | 673 | }, |
| 674 | + "claimsHash": { |
| 675 | + "description": "ClaimsHash is a hash of the Account JWT claims, used to determine if the claims have changed and a new JWT needs to be generated.", |
| 676 | + "type": "string" |
| 677 | + }, |
485 | 678 | "conditions": { |
486 | 679 | "items": { |
487 | 680 | "description": "Condition contains details for one aspect of the current state of this API Resource.", |
|
551 | 744 | "reconcileTimestamp": { |
552 | 745 | "format": "date-time", |
553 | 746 | "type": "string" |
554 | | - }, |
555 | | - "signingKey": { |
556 | | - "properties": { |
557 | | - "creationDate": { |
558 | | - "format": "date-time", |
559 | | - "type": "string" |
560 | | - }, |
561 | | - "expirationDate": { |
562 | | - "format": "date-time", |
563 | | - "type": "string" |
564 | | - }, |
565 | | - "name": { |
566 | | - "type": "string" |
567 | | - } |
568 | | - }, |
569 | | - "type": "object", |
570 | | - "additionalProperties": false |
571 | 747 | } |
572 | 748 | }, |
573 | 749 | "type": "object", |
|
0 commit comments