install: use creds-operator to create creds for MAO on Azure
@@ -31,3 +31,20 @@ spec:
- iam:PassRole
resource: "*"
---
+apiVersion: cloudcredential.openshift.io/v1
+kind: CredentialsRequest
+metadata:
+ labels:
+ controller-tools.k8s.io: "1.0"
+ name: openshift-machine-api-azure
+ namespace: openshift-cloud-credential-operator
+spec:
+ secretRef:
+ name: azure-cloud-credentials
+ namespace: openshift-machine-api
+ providerSpec:
+ apiVersion: cloudcredential.openshift.io/v1
+ kind: AzureProviderSpec
+ roleBindings:
+ - role: passthrough
+ scope: resourcegroup
