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