github.com/IBM-Blockchain/fabric-operator@v1.0.4/config/crd/bases/ibp.com_ibpconsoles.yaml (about) 1 --- 2 apiVersion: apiextensions.k8s.io/v1 3 kind: CustomResourceDefinition 4 metadata: 5 annotations: 6 controller-gen.kubebuilder.io/version: v0.8.0 7 creationTimestamp: null 8 name: ibpconsoles.ibp.com 9 spec: 10 group: ibp.com 11 names: 12 kind: IBPConsole 13 listKind: IBPConsoleList 14 plural: ibpconsoles 15 singular: ibpconsole 16 scope: Namespaced 17 versions: 18 - name: v1beta1 19 schema: 20 openAPIV3Schema: 21 description: The Console is used to deploy and manage the CA, peer, ordering 22 nodes. 23 properties: 24 apiVersion: 25 description: 'APIVersion defines the versioned schema of this representation 26 of an object. Servers should convert recognized schemas to the latest 27 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 28 type: string 29 kind: 30 description: 'Kind is a string value representing the REST resource this 31 object represents. Servers may infer this from the endpoint the client 32 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 33 type: string 34 metadata: 35 type: object 36 spec: 37 description: IBPConsoleSpec defines the desired state of IBPConsole 38 properties: 39 action: 40 description: Action (Optional) is action object for trigerring actions 41 properties: 42 restart: 43 type: boolean 44 type: object 45 allowDefaultPassword: 46 description: AllowDefaultPassword, if true, will bypass the password 47 reset flow on the first connection to the console GUI. By default 48 (false), all consoles require a password reset at the first login. 49 type: boolean 50 arch: 51 description: Arch (Optional) is the architecture of the nodes where 52 console should be deployed 53 items: 54 type: string 55 type: array 56 authScheme: 57 description: console settings AuthScheme is auth scheme for console 58 access 59 type: string 60 clusterdata: 61 description: ClusterData is object cluster data information 62 properties: 63 namespace: 64 type: string 65 type: 66 description: Type provides the type of cluster 67 type: string 68 zones: 69 description: Zones provides the zones available 70 items: 71 type: string 72 type: array 73 type: object 74 components: 75 description: Components is database name used for components 76 type: string 77 configoverride: 78 description: ConfigOverride (Optional) is the object to provide overrides 79 properties: 80 console: 81 description: Console is the overrides to console configuration 82 type: object 83 x-kubernetes-preserve-unknown-fields: true 84 deployer: 85 description: Deployer is the overrides to deployer configuration 86 type: object 87 x-kubernetes-preserve-unknown-fields: true 88 maxnamelength: 89 description: MaxNameLength (Optional) is the maximum length of 90 the name that the console can have 91 type: integer 92 type: object 93 configtxlator: 94 description: ConfigtxlatorURL is url for configtxlator server 95 type: string 96 connectionString: 97 description: ConnectionString is connection url for backend database 98 type: string 99 crn: 100 properties: 101 account_id: 102 type: string 103 c_name: 104 type: string 105 c_type: 106 type: string 107 instance_id: 108 type: string 109 location: 110 type: string 111 resource_id: 112 type: string 113 resource_type: 114 type: string 115 service_name: 116 type: string 117 version: 118 type: string 119 type: object 120 deployer: 121 description: Deployer is object for deployer configs 122 properties: 123 components_db: 124 type: string 125 connectionstring: 126 type: string 127 create_db: 128 type: boolean 129 domain: 130 type: string 131 type: object 132 deployerTimeout: 133 description: DeployerTimeout is timeout value for deployer calls 134 format: int32 135 type: integer 136 deployerUrl: 137 description: DeployerURL is url for deployer server 138 type: string 139 email: 140 description: Email is the email used for initial access 141 type: string 142 featureflags: 143 description: FeatureFlags is object for feature flag settings 144 properties: 145 capabilities_enabled: 146 type: boolean 147 create_channel_enabled: 148 type: boolean 149 dev_mode: 150 type: boolean 151 enable_ou_identifier: 152 type: boolean 153 high_availability: 154 type: boolean 155 hsm_enabled: 156 type: boolean 157 import_only_enabled: 158 type: boolean 159 infra_import_options: 160 properties: 161 platform: 162 type: string 163 supported_cas: 164 items: 165 type: string 166 type: array 167 supported_orderers: 168 items: 169 type: string 170 type: array 171 supported_peers: 172 items: 173 type: string 174 type: array 175 type: object 176 lifecycle2_0_enabled: 177 type: boolean 178 mustgather_enabled: 179 type: boolean 180 patch_1_4to2_x_enabled: 181 type: boolean 182 read_only_enabled: 183 type: boolean 184 remote_peer_config_enabled: 185 type: boolean 186 saas_enabled: 187 type: boolean 188 scale_raft_nodes_enabled: 189 type: boolean 190 templates_enabled: 191 type: boolean 192 type: object 193 iamApiKey: 194 type: string 195 ibmid: 196 properties: 197 client_id: 198 type: string 199 client_secret: 200 type: string 201 url: 202 type: string 203 type: object 204 imagePullSecrets: 205 description: ImagePullSecrets (Optional) is the list of ImagePullSecrets 206 to be used for console's deployment 207 items: 208 type: string 209 type: array 210 images: 211 description: Images (Optional) lists the images to be used for console's 212 deployment 213 properties: 214 configtxlatorImage: 215 description: ConfigtxlatorImage is the name of the configtxlator 216 image 217 type: string 218 configtxlatorTag: 219 description: ConfigtxlatorTag is the tag of the configtxlator 220 image 221 type: string 222 consoleImage: 223 description: ConsoleImage is the name of the console image 224 type: string 225 consoleInitImage: 226 description: ConsoleInitImage is the name of the console init 227 image 228 type: string 229 consoleInitTag: 230 description: ConsoleInitTag is the tag of the console init image 231 type: string 232 consoleTag: 233 description: ConsoleTag is the tag of the console image 234 type: string 235 couchdbImage: 236 description: CouchDBImage is the name of the couchdb image 237 type: string 238 couchdbTag: 239 description: CouchDBTag is the tag of the couchdb image 240 type: string 241 deployerImage: 242 description: DeployerImage is the name of the deployer image 243 type: string 244 deployerTag: 245 description: DeployerTag is the tag of the deployer image 246 type: string 247 mustgatherImage: 248 description: MustgatherImage is the name of the mustgather image 249 type: string 250 mustgatherTag: 251 description: MustgatherTag is the tag of the mustgatherTag image 252 type: string 253 type: object 254 ingress: 255 description: Ingress (Optional) is ingress object for ingress overrides 256 properties: 257 class: 258 description: Class (Optional) is the class to set for ingress 259 type: string 260 tlsSecretName: 261 description: TlsSecretName (Optional) is the secret name to be 262 used for tls certificates 263 type: string 264 type: object 265 kubeconfig: 266 format: byte 267 type: string 268 kubeconfignamespace: 269 type: string 270 kubeconfigsecretname: 271 type: string 272 license: 273 description: License should be accepted by the user to be able to 274 setup console 275 properties: 276 accept: 277 description: Accept should be set to true to accept the license. 278 enum: 279 - true 280 type: boolean 281 type: object 282 networkinfo: 283 description: NetworkInfo is object for network overrides 284 properties: 285 configtxlatorPort: 286 description: ConfigtxlatorPort is the port to access configtxlator 287 format: int32 288 type: integer 289 consolePort: 290 description: ConsolePort is the port to access the console 291 format: int32 292 type: integer 293 domain: 294 description: Domain for the components 295 type: string 296 proxyPort: 297 description: ProxyPort is the port to access console proxy 298 format: int32 299 type: integer 300 type: object 301 password: 302 description: Password is initial password to access console 303 type: string 304 passwordSecretName: 305 description: PasswordSecretName is secretname where password is stored 306 type: string 307 proxying: 308 type: boolean 309 region: 310 description: Region (Optional) is the region of the nodes where the 311 console should be deployed 312 type: string 313 registryURL: 314 description: RegistryURL is registry url used to pull images 315 type: string 316 replicas: 317 description: Replicas (Optional - default 1) is the number of console 318 replicas to be setup 319 format: int32 320 type: integer 321 resources: 322 description: Resources (Optional) is the amount of resources to be 323 provided to console deployment 324 properties: 325 configtxlator: 326 description: Configtxlator is the resources provided to the configtxlator 327 container 328 properties: 329 limits: 330 additionalProperties: 331 anyOf: 332 - type: integer 333 - type: string 334 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 335 x-kubernetes-int-or-string: true 336 description: 'Limits describes the maximum amount of compute 337 resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' 338 type: object 339 requests: 340 additionalProperties: 341 anyOf: 342 - type: integer 343 - type: string 344 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 345 x-kubernetes-int-or-string: true 346 description: 'Requests describes the minimum amount of compute 347 resources required. If Requests is omitted for a container, 348 it defaults to Limits if that is explicitly specified, otherwise 349 to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' 350 type: object 351 type: object 352 console: 353 description: Console is the resources provided to the console 354 container 355 properties: 356 limits: 357 additionalProperties: 358 anyOf: 359 - type: integer 360 - type: string 361 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 362 x-kubernetes-int-or-string: true 363 description: 'Limits describes the maximum amount of compute 364 resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' 365 type: object 366 requests: 367 additionalProperties: 368 anyOf: 369 - type: integer 370 - type: string 371 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 372 x-kubernetes-int-or-string: true 373 description: 'Requests describes the minimum amount of compute 374 resources required. If Requests is omitted for a container, 375 it defaults to Limits if that is explicitly specified, otherwise 376 to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' 377 type: object 378 type: object 379 couchdb: 380 description: CouchDB is the resources provided to the couchdb 381 container 382 properties: 383 limits: 384 additionalProperties: 385 anyOf: 386 - type: integer 387 - type: string 388 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 389 x-kubernetes-int-or-string: true 390 description: 'Limits describes the maximum amount of compute 391 resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' 392 type: object 393 requests: 394 additionalProperties: 395 anyOf: 396 - type: integer 397 - type: string 398 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 399 x-kubernetes-int-or-string: true 400 description: 'Requests describes the minimum amount of compute 401 resources required. If Requests is omitted for a container, 402 it defaults to Limits if that is explicitly specified, otherwise 403 to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' 404 type: object 405 type: object 406 deployer: 407 description: Deployer is the resources provided to the deployer 408 container 409 properties: 410 limits: 411 additionalProperties: 412 anyOf: 413 - type: integer 414 - type: string 415 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 416 x-kubernetes-int-or-string: true 417 description: 'Limits describes the maximum amount of compute 418 resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' 419 type: object 420 requests: 421 additionalProperties: 422 anyOf: 423 - type: integer 424 - type: string 425 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 426 x-kubernetes-int-or-string: true 427 description: 'Requests describes the minimum amount of compute 428 resources required. If Requests is omitted for a container, 429 it defaults to Limits if that is explicitly specified, otherwise 430 to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' 431 type: object 432 type: object 433 init: 434 description: Init is the resources provided to the init container 435 properties: 436 limits: 437 additionalProperties: 438 anyOf: 439 - type: integer 440 - type: string 441 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 442 x-kubernetes-int-or-string: true 443 description: 'Limits describes the maximum amount of compute 444 resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' 445 type: object 446 requests: 447 additionalProperties: 448 anyOf: 449 - type: integer 450 - type: string 451 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 452 x-kubernetes-int-or-string: true 453 description: 'Requests describes the minimum amount of compute 454 resources required. If Requests is omitted for a container, 455 it defaults to Limits if that is explicitly specified, otherwise 456 to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' 457 type: object 458 type: object 459 type: object 460 segmentWriteKey: 461 type: string 462 service: 463 description: Service (Optional) is the override object for console's 464 service 465 properties: 466 type: 467 description: The "type" of the service to be used 468 type: string 469 type: object 470 serviceAccountName: 471 description: ServiceAccountName defines serviceaccount used for console 472 deployment 473 type: string 474 sessions: 475 description: Sessions is sessions database name to use 476 type: string 477 storage: 478 description: Storage (Optional - uses default storageclass if not 479 provided) is the override object for CA's PVC config 480 properties: 481 console: 482 description: Console is the configuration of the storage of the 483 console 484 properties: 485 class: 486 description: Class is the storage class 487 type: string 488 size: 489 description: Size of storage 490 type: string 491 type: object 492 type: object 493 system: 494 description: System is system database name to use 495 type: string 496 systemChannel: 497 description: SystemChannel is default systemchannel name 498 type: string 499 tlsSecretName: 500 description: TLSSecretName is secret name to load custom tls certs 501 type: string 502 usetags: 503 description: UseTags (Optional) is a flag to switch between image 504 digests and tags 505 type: boolean 506 version: 507 description: Version (Optional) is version for the console 508 type: string 509 versions: 510 properties: 511 ca: 512 additionalProperties: 513 properties: 514 default: 515 type: boolean 516 image: 517 description: CAImages is the list of images to be used in 518 CA deployment 519 properties: 520 caImage: 521 description: CAImage is the name of the CA image 522 type: string 523 caInitImage: 524 description: CAInitImage is the name of the Init image 525 type: string 526 caInitTag: 527 description: CAInitTag is the tag of the Init image 528 type: string 529 caTag: 530 description: CATag is the tag of the CA image 531 type: string 532 enrollerImage: 533 description: EnrollerImage is the name of the init image 534 for crypto generation 535 type: string 536 enrollerTag: 537 description: EnrollerTag is the tag of the init image 538 for crypto generation 539 type: string 540 hsmImage: 541 description: HSMImage is the name of the HSM image 542 type: string 543 hsmTag: 544 description: HSMTag is the tag of the HSM image 545 type: string 546 type: object 547 version: 548 type: string 549 required: 550 - default 551 - version 552 type: object 553 type: object 554 orderer: 555 additionalProperties: 556 properties: 557 default: 558 type: boolean 559 image: 560 description: OrdererImages is the list of images to be used 561 in orderer deployment 562 properties: 563 enrollerImage: 564 description: EnrollerImage is the name of the init image 565 for crypto generation 566 type: string 567 enrollerTag: 568 description: EnrollerTag is the tag of the init image 569 for crypto generation 570 type: string 571 grpcwebImage: 572 description: GRPCWebImage is the name of the grpc web 573 proxy image 574 type: string 575 grpcwebTag: 576 description: GRPCWebTag is the tag of the grpc web proxy 577 image 578 type: string 579 hsmImage: 580 description: HSMImage is the name of the hsm image 581 type: string 582 hsmTag: 583 description: HSMTag is the tag of the hsm image 584 type: string 585 ordererImage: 586 description: OrdererImage is the name of the orderer 587 image 588 type: string 589 ordererInitImage: 590 description: OrdererInitImage is the name of the orderer 591 init image 592 type: string 593 ordererInitTag: 594 description: OrdererInitTag is the tag of the orderer 595 init image 596 type: string 597 ordererTag: 598 description: OrdererTag is the tag of the orderer image 599 type: string 600 type: object 601 version: 602 type: string 603 required: 604 - default 605 - version 606 type: object 607 type: object 608 peer: 609 additionalProperties: 610 properties: 611 default: 612 type: boolean 613 image: 614 description: PeerImages is the list of images to be used 615 in peer deployment 616 properties: 617 builderImage: 618 description: BuilderImage is the name of the builder 619 image 620 type: string 621 builderTag: 622 description: BuilderTag is the tag of the builder image 623 type: string 624 chaincodeLauncherImage: 625 description: CCLauncherImage is the name of the chaincode 626 launcher image 627 type: string 628 chaincodeLauncherTag: 629 description: CCLauncherTag is the tag of the chaincode 630 launcher image 631 type: string 632 couchdbImage: 633 description: CouchDBImage is the name of the couchdb 634 image 635 type: string 636 couchdbTag: 637 description: CouchDBTag is the tag of the couchdb image 638 type: string 639 dindImage: 640 description: DindImage is the name of the dind image 641 type: string 642 dindTag: 643 description: DindTag is the tag of the dind image 644 type: string 645 enrollerImage: 646 description: EnrollerImage is the name of the init image 647 for crypto generation 648 type: string 649 enrollerTag: 650 description: EnrollerTag is the tag of the init image 651 for crypto generation 652 type: string 653 fileTransferImage: 654 description: FileTransferImage is the name of the file 655 transfer image 656 type: string 657 fileTransferTag: 658 description: FileTransferTag is the tag of the file 659 transfer image 660 type: string 661 fluentdImage: 662 description: FluentdImage is the name of the fluentd 663 logger image 664 type: string 665 fluentdTag: 666 description: FluentdTag is the tag of the fluentd logger 667 image 668 type: string 669 goEnvImage: 670 description: GoEnvImage is the name of the goenv image 671 type: string 672 goEnvTag: 673 description: GoEnvTag is the tag of the goenv image 674 type: string 675 grpcwebImage: 676 description: GRPCWebImage is the name of the grpc web 677 proxy image 678 type: string 679 grpcwebTag: 680 description: GRPCWebTag is the tag of the grpc web proxy 681 image 682 type: string 683 hsmImage: 684 description: HSMImage is the name of the hsm image 685 type: string 686 hsmTag: 687 description: HSMTag is the tag of the hsm image 688 type: string 689 javaEnvImage: 690 description: JavaEnvImage is the name of the javaenv 691 image 692 type: string 693 javaEnvTag: 694 description: JavaEnvTag is the tag of the javaenv image 695 type: string 696 nodeEnvImage: 697 description: NodeEnvImage is the name of the nodeenv 698 image 699 type: string 700 nodeEnvTag: 701 description: NodeEnvTag is the tag of the nodeenv image 702 type: string 703 peerImage: 704 description: PeerImage is the name of the peer image 705 type: string 706 peerInitImage: 707 description: PeerInitImage is the name of the peer init 708 image 709 type: string 710 peerInitTag: 711 description: PeerInitTag is the tag of the peer init 712 image 713 type: string 714 peerTag: 715 description: PeerTag is the tag of the peer image 716 type: string 717 type: object 718 version: 719 type: string 720 required: 721 - default 722 - version 723 type: object 724 type: object 725 required: 726 - ca 727 - orderer 728 - peer 729 type: object 730 zone: 731 description: Zone (Optional) is the zone of the nodes where the console 732 should be deployed 733 type: string 734 required: 735 - license 736 - usetags 737 - version 738 type: object 739 status: 740 description: Status is the observed state of IBPConsole 741 properties: 742 errorcode: 743 description: ErrorCode is the code of classification of errors 744 type: integer 745 lastHeartbeatTime: 746 description: LastHeartbeatTime is when the controller reconciled this 747 component 748 type: string 749 message: 750 description: Message provides a message for the status to be shown 751 to customer 752 type: string 753 reason: 754 description: Reason provides a reason for an error 755 type: string 756 status: 757 description: Status is defined based on the current status of the 758 component 759 type: string 760 type: 761 description: Type is true or false based on if status is valid 762 type: string 763 version: 764 description: Version is the product (IBP) version of the component 765 type: string 766 versions: 767 description: Versions is the operand version of the component 768 properties: 769 reconciled: 770 description: Reconciled provides the reconciled version of the 771 operand 772 type: string 773 required: 774 - reconciled 775 type: object 776 type: object 777 type: object 778 served: true 779 storage: true 780 subresources: 781 status: {} 782 status: 783 acceptedNames: 784 kind: "" 785 plural: "" 786 conditions: [] 787 storedVersions: []