Add policy role attributes to cred request
@@ -175,6 +175,19 @@ spec:
---
apiVersion: cloudcredential.openshift.io/v1
kind: CredentialsRequest
+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"
metadata:
labels:
controller-tools.k8s.io: "1.0"
