provider-jet-googleworkspace
is a Crossplane provider that
is built using Terrajet code
generation tools and exposes XRM-conformant managed resources for the
GoogleWorkspace API.
Install the provider by using the following command after changing the image tag to the latest release:
kubectl crossplane install provider joakimhew/provider-jet-googleworkspace:v0.1.0-alpha
Alternatively, you can use declarative installation:
kubectl apply -f examples/install.yaml
Notice that in this example Provider resource is referencing ControllerConfig with debug enabled.
You can see the API reference here.
Create a secret with the credentials for your Google Workspace account:
apiVersion: v1
kind: Secret
metadata:
name: example-creds
namespace: crossplane-system
type: Opaque
stringData:
credentials: |
{
"credentials":"<GOOGLE_CREDENTIALS_JSON>",
"customer_id":"<CUSTOMER_ID>",
"impersonated_user_email":"<IMPERSONATED_USER_EMAIL>",
"oauth_scopes": "<LIST_OF_OAUTH_SCOPES>"
}
Create a ProviderConfig
that uses the credentials:
apiVersion: googleworkspace.jet.crossplane.io/v1alpha1
kind: ProviderConfig
metadata:
name: default
spec:
credentials:
source: Secret
secretRef:
name: example-creds
namespace: crossplane-system
key: credentials
Run code-generation pipeline:
go run cmd/generator/main.go "$PWD"
Run against a Kubernetes cluster:
make run
Build, push, and install:
make all
Build binary:
make build
For filing bugs, suggesting improvements, or requesting new features, please open an issue.
Please use the following to reach members of the community:
- Slack: Join our slack channel
- Forums: crossplane-dev
- Twitter: @crossplane_io
- Email: info@crossplane.io
provider-jet-googleworkspace is run according to the same Governance and Ownership structure as the core Crossplane project.
provider-jet-googleworkspace adheres to the same Code of Conduct as the core Crossplane project.
provider-jet-googleworkspace is under the Apache 2.0 license.