fix(ibmcloud): Set resource group policy in CredentialsRequest
@@ -189,18 +189,18 @@ spec:
apiVersion: cloudcredential.openshift.io/v1
kind: IBMCloudProviderSpec
policies:
- - roles:
- - "crn:v1:bluemix:public:iam::::role:Operator"
- - "crn:v1:bluemix:public:iam::::role:Editor"
- - "crn:v1:bluemix:public:iam::::role:Viewer"
- attributes:
- - name: "serviceName"
- value: "is"
- - roles:
- - "crn:v1:bluemix:public:iam::::role:Viewer"
- attributes:
- - name: "serviceName"
- value: "resource-controller"
+ - attributes:
+ - name: serviceName
+ value: is
+ roles:
+ - crn:v1:bluemix:public:iam::::role:Operator
+ - crn:v1:bluemix:public:iam::::role:Editor
+ - crn:v1:bluemix:public:iam::::role:Viewer
+ - attributes:
+ - name: resourceType
+ value: resource-group
+ roles:
+ - crn:v1:bluemix:public:iam::::role:Viewer
secretRef:
namespace: openshift-machine-api
name: ibmcloud-credentials
