github.com/IBM-Blockchain/fabric-operator@v1.0.4/definitions/console/role.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 kind: Role 20 apiVersion: rbac.authorization.k8s.io/v1 21 metadata: 22 name: "console-role" 23 rules: 24 - apiGroups: 25 - "" 26 resources: 27 - secrets 28 - services 29 - configmaps 30 - pods 31 verbs: 32 - get 33 - list 34 - create 35 - update 36 - patch 37 - watch 38 - delete 39 - deletecollection 40 - apiGroups: 41 - ibp.com 42 resources: 43 - ibpcas 44 - ibppeers 45 - ibporderers 46 - ibpconsoles 47 verbs: 48 - get 49 - list 50 - create 51 - update 52 - patch 53 - watch 54 - delete 55 - deletecollection 56 - apiGroups: 57 - "" 58 - "apps" 59 - "extensions" 60 - "networking.k8s.io" 61 resources: 62 - pods/log 63 - persistentvolumeclaims 64 - deployments 65 - replicas 66 - ingresses 67 verbs: 68 - "get" 69 - "list" 70 - "watch" 71 - apiGroups: 72 - "" 73 - "route.openshift.io" 74 resources: 75 - "routes" 76 verbs: 77 - "get" 78 - "list" 79 - "watch"