github.com/IBM-Blockchain/fabric-operator@v1.0.4/sample-network/config/orderers/org0-orderers.yaml (about)

     1  #
     2  # Copyright contributors to the Hyperledger Fabric Operator project
     3  #
     4  # SPDX-License-Identifier: Apache-2.0
     5  #
     6  # Licensed under the Apache License, Version 2.0 (the "License");
     7  # you may not use this file except in compliance with the License.
     8  # You may obtain a copy of the License at:
     9  #
    10  # 	  http://www.apache.org/licenses/LICENSE-2.0
    11  #
    12  # Unless required by applicable law or agreed to in writing, software
    13  # distributed under the License is distributed on an "AS IS" BASIS,
    14  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    15  # See the License for the specific language governing permissions and
    16  # limitations under the License.
    17  #
    18  ---
    19  apiVersion: ibp.com/v1beta1
    20  kind: IBPOrderer
    21  metadata:
    22    name: org0-orderers
    23  spec:
    24    version: "${FABRIC_VERSION}"
    25    domain: "${INGRESS_DOMAIN}"
    26    license:
    27      accept: true
    28    action:
    29      enroll: {}
    30      reenroll: {}
    31    clusterSize: 3
    32    clusterconfigoverride:
    33      - general:
    34          keepalive:
    35            serverMinInterval: 61s
    36      - general:
    37          keepalive:
    38            serverMinInterval: 61s
    39      - general:
    40          keepalive:
    41            serverMinInterval: 61s
    42    clustersecret:
    43      - enrollment:
    44          component:
    45            caname: ca
    46            cahost: test-network-org0-ca-ca.${INGRESS_DOMAIN}
    47            caport: "443"
    48            catls:
    49              cacert: "${ORG0_CA_CERT}"
    50            enrollid: "orderer1"
    51            enrollsecret: "orderer1pw"
    52          tls:
    53            caname: tlsca
    54            cahost: test-network-org0-ca-ca.${INGRESS_DOMAIN}
    55            caport: "443"
    56            catls:
    57              cacert: "${ORG0_CA_CERT}"
    58            enrollid: "orderer1"
    59            enrollsecret: "orderer1pw"
    60            csr:
    61              hosts:
    62                - "org0-orderersnode1"
    63                - "org0-orderersnode1.${KUBE_DNS_DOMAIN}"
    64      - enrollment:
    65          component:
    66            caname: ca
    67            cahost: test-network-org0-ca-ca.${INGRESS_DOMAIN}
    68            caport: "443"
    69            catls:
    70              cacert: "${ORG0_CA_CERT}"
    71            enrollid: "orderer2"
    72            enrollsecret: "orderer2pw"
    73          tls:
    74            caname: tlsca
    75            cahost: test-network-org0-ca-ca.${INGRESS_DOMAIN}
    76            caport: "443"
    77            catls:
    78              cacert: "${ORG0_CA_CERT}"
    79            enrollid: "orderer2"
    80            enrollsecret: "orderer2pw"
    81            csr:
    82              hosts:
    83                - "org0-orderersnode2"
    84                - "org0-orderersnode2.${KUBE_DNS_DOMAIN}"
    85      - enrollment:
    86          component:
    87            caname: ca
    88            cahost: test-network-org0-ca-ca.${INGRESS_DOMAIN}
    89            caport: "443"
    90            catls:
    91              cacert: "${ORG0_CA_CERT}"
    92            enrollid: "orderer3"
    93            enrollsecret: "orderer3pw"
    94          tls:
    95            caname: tlsca
    96            cahost: test-network-org0-ca-ca.${INGRESS_DOMAIN}
    97            caport: "443"
    98            catls:
    99              cacert: "${ORG0_CA_CERT}"
   100            enrollid: "orderer3"
   101            enrollsecret: "orderer3pw"
   102            csr:
   103              hosts:
   104                - "org0-orderersnode3"
   105                - "org0-orderersnode3.${KUBE_DNS_DOMAIN}"
   106  
   107    customNames:
   108      pvc: {}
   109    images:
   110      ordererInitImage: ${INIT_IMAGE}
   111      ordererInitTag: ${INIT_IMAGE_LABEL}
   112      ordererImage: ${ORDERER_IMAGE}
   113      ordererTag: ${ORDERER_IMAGE_LABEL}
   114      grpcwebImage: ${GRPCWEB_IMAGE}
   115      grpcwebTag: ${GRPCWEB_IMAGE_LABEL}
   116    ingress:
   117      class: ""
   118      tlsSecretName: ""
   119    mspID: OrdererMSP
   120    ordererType: etcdraft
   121    orgName: OrdererOrg
   122    useChannelLess: true
   123    systemChannelName: testchainid
   124    resources:
   125      init:
   126        limits:
   127          cpu: 100m
   128          memory: 200M
   129        requests:
   130          cpu: 10m
   131          memory: 10M
   132      orderer:
   133        limits:
   134          cpu: 600m
   135          memory: 1200M
   136        requests:
   137          cpu: 10m
   138          memory: 10M
   139      proxy:
   140        limits:
   141          cpu: 100m
   142          memory: 200M
   143        requests:
   144          cpu: 10m
   145          memory: 10M
   146    service:
   147      type: ClusterIP
   148    storage:
   149      orderer:
   150        class: "${STORAGE_CLASS}"
   151        size: 5G