github.com/IBM-Blockchain/fabric-operator@v1.0.4/sample-network/config/cas/org1-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: org1-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: peer1 48 pass: peer1pw 49 type: peer 50 - name: peer2 51 pass: peer2pw 52 type: peer 53 - name: org1admin 54 pass: org1adminpw 55 type: admin 56 debug: true 57 signing: 58 default: 59 expiry: 87600h0m0s 60 tlsca: 61 affiliations: 62 org1: 63 - department1 64 - department2 65 org2: 66 - department1 67 registry: 68 identities: 69 - name: admin 70 pass: adminpw 71 type: client # todo: shouldn't this be an admin? 72 attrs: 73 hf.Registrar.Roles: "*" 74 hf.Registrar.DelegateRoles: "*" 75 hf.Revoker: true 76 hf.IntermediateCA: true 77 hf.GenCRL: true 78 hf.Registrar.Attributes: "*" 79 hf.AffiliationMgr: true 80 - name: peer1 81 pass: peer1pw 82 type: peer 83 - name: peer2 84 pass: peer2pw 85 type: peer 86 - name: org1admin 87 pass: org1adminpw 88 type: admin 89 debug: true 90 signing: 91 default: 92 expiry: 87600h0m0s 93 customNames: 94 pvc: {} 95 domain: "${INGRESS_DOMAIN}" 96 images: 97 caImage: ${CA_IMAGE} 98 caTag: ${CA_IMAGE_LABEL} 99 caInitImage: ${INIT_IMAGE} 100 caInitTag: ${INIT_IMAGE_LABEL} 101 ingress: 102 class: "" 103 tlsSecretName: "" 104 license: 105 accept: true 106 replicas: 1 107 resources: 108 ca: 109 limits: 110 cpu: 100m 111 memory: 200M 112 requests: 113 cpu: 10m 114 memory: 10M 115 init: 116 limits: 117 cpu: 100m 118 memory: 200M 119 requests: 120 cpu: 10m 121 memory: 10M 122 service: 123 type: ClusterIP 124 storage: 125 ca: 126 class: "${STORAGE_CLASS}" 127 size: 100M 128 version: ${FABRIC_CA_VERSION}