github.com/IBM-Blockchain/fabric-operator@v1.0.4/sample-network/config/cas/org0-ca.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: IBPCA 21 metadata: 22 name: org0-ca 23 spec: 24 action: 25 renew: {} 26 configoverride: 27 ca: 28 affiliations: 29 org1: 30 - department1 31 - department2 32 org2: 33 - department1 34 registry: 35 identities: 36 - name: rcaadmin 37 pass: rcaadminpw 38 type: client 39 attrs: 40 hf.Registrar.Roles: "*" 41 hf.Registrar.DelegateRoles: "*" 42 hf.Revoker: true 43 hf.IntermediateCA: true 44 hf.GenCRL: true 45 hf.Registrar.Attributes: "*" 46 hf.AffiliationMgr: true 47 - name: orderer1 48 pass: orderer1pw 49 type: orderer 50 - name: orderer2 51 pass: orderer2pw 52 type: orderer 53 - name: orderer3 54 pass: orderer3pw 55 type: orderer 56 - name: org0admin 57 pass: org0adminpw 58 type: admin 59 debug: true 60 signing: 61 default: 62 expiry: 87600h0m0s 63 tlsca: 64 affiliations: 65 org1: 66 - department1 67 - department2 68 org0: 69 - department1 70 registry: 71 identities: 72 - name: admin 73 pass: adminpw 74 type: client # todo: shouldn't this be an admin? 75 attrs: 76 hf.Registrar.Roles: "*" 77 hf.Registrar.DelegateRoles: "*" 78 hf.Revoker: true 79 hf.IntermediateCA: true 80 hf.GenCRL: true 81 hf.Registrar.Attributes: "*" 82 hf.AffiliationMgr: true 83 - name: orderer1 84 pass: orderer1pw 85 type: orderer 86 - name: orderer2 87 pass: orderer2pw 88 type: orderer 89 - name: orderer3 90 pass: orderer3pw 91 type: orderer 92 - name: org0admin 93 pass: org0adminpw 94 type: admin 95 96 debug: true 97 signing: 98 default: 99 expiry: 87600h0m0s 100 customNames: 101 pvc: {} 102 domain: "${INGRESS_DOMAIN}" 103 images: 104 caImage: ${CA_IMAGE} 105 caTag: ${CA_IMAGE_LABEL} 106 caInitImage: ${INIT_IMAGE} 107 caInitTag: ${INIT_IMAGE_LABEL} 108 ingress: 109 class: "" 110 tlsSecretName: "" 111 license: 112 accept: true 113 replicas: 1 114 resources: 115 ca: 116 limits: 117 cpu: 100m 118 memory: 200M 119 requests: 120 cpu: 10m 121 memory: 10M 122 init: 123 limits: 124 cpu: 100m 125 memory: 200M 126 requests: 127 cpu: 10m 128 memory: 10M 129 service: 130 type: ClusterIP 131 storage: 132 ca: 133 class: "${STORAGE_CLASS}" 134 size: 100M 135 version: ${FABRIC_CA_VERSION}