github.com/IBM-Blockchain/fabric-operator@v1.0.4/sample-network/config/peers/org2-peer1.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: IBPPeer
    21  metadata:
    22    name: org2-peer1
    23  spec:
    24    version: "${FABRIC_VERSION}"
    25    domain: "${INGRESS_DOMAIN}"
    26    peerExternalEndpoint: "test-network-org2-peer1-peer.${INGRESS_DOMAIN}:443"
    27    license:
    28      accept: true
    29    action:
    30      enroll: {}
    31      reenroll: {}
    32    configoverride:
    33      peer:
    34        keepalive:
    35          minInterval: 61s
    36    customNames:
    37      pvc: {}
    38    images:
    39      peerInitImage: ${INIT_IMAGE}
    40      peerInitTag: ${INIT_IMAGE_LABEL}
    41      peerImage: ${PEER_IMAGE}
    42      peerTag: ${PEER_IMAGE_LABEL}
    43      grpcwebImage: ${GRPCWEB_IMAGE}
    44      grpcwebTag: ${GRPCWEB_IMAGE_LABEL}
    45    mspID: Org2MSP
    46    mspSecret: org2-peer1-secret
    47    secret:
    48      enrollment:
    49        component:
    50          caname: ca
    51          cahost: "test-network-org2-ca-ca.${INGRESS_DOMAIN}"
    52          caport: "443"
    53          catls:
    54            cacert: "${ORG2_CA_CERT}"
    55          enrollid: "peer1"
    56          enrollsecret: "peer1pw"
    57        tls:
    58          caname: tlsca
    59          cahost: "test-network-org2-ca-ca.${INGRESS_DOMAIN}"
    60          caport: "443"
    61          catls:
    62            cacert: "${ORG2_CA_CERT}"
    63          enrollid: "peer1"
    64          enrollsecret: "peer1pw"
    65          csr:
    66            hosts:
    67              - "org2-peer1"
    68              - "org2-peer1.${KUBE_DNS_DOMAIN}"
    69    chaincodeBuilderConfig:
    70      peername: org2-peer1
    71    service:
    72      type: ClusterIP
    73    stateDb: leveldb
    74    storage:
    75      peer:
    76        class: "${STORAGE_CLASS}"
    77        size: 5G
    78      statedb:
    79        class: "${STORAGE_CLASS}"
    80        size: 10Gi
    81    resources:
    82      init:
    83        limits:
    84          cpu: 100m
    85          memory: 200M
    86        requests:
    87          cpu: 10m
    88          memory: 10M
    89      peer:
    90        limits:
    91          cpu: 500m
    92          memory: 1G
    93        requests:
    94          cpu: 10m
    95          memory: 10M
    96      proxy:
    97        limits:
    98          cpu: 100m
    99          memory: 200M
   100        requests:
   101          cpu: 10m
   102          memory: 10M