Add GCP credential support
@@ -64,3 +64,21 @@ spec:
apiVersion: cloudcredential.openshift.io/v1
kind: OpenStackProviderSpec
---
+apiVersion: cloudcredential.openshift.io/v1
+kind: CredentialsRequest
+metadata:
+ labels:
+ controller-tools.k8s.io: "1.0"
+ name: openshift-machine-api-gcp
+ namespace: openshift-cloud-credential-operator
+spec:
+ secretRef:
+ name: gcp-cloud-credentials
+ namespace: openshift-machine-api
+ providerSpec:
+ apiVersion: cloudcredential.openshift.io/v1
+ kind: GCPProviderSpec
+ predefinedRoles:
+ - "compute.instanceAdmin.v1"
+ - "iam.serviceAccountUser"
+---
