Cloud Resources orchestrated by Crossplane
$ vela addon enable crossplane
KubeVela can support following cloud providers by enabling the Crossplane provider addons.
$ vela addon list | grep crossplane-
crossplane-aws KubeVela Kubernetes Crossplane Controller for AWS [0.0.1] enabled (1.0.0) enabled (1.0.1)
To enable one of them, use the following command:
$ vela addon enable crossplane-xxx
You can also disable, upgrade, check status of an addon by command vela addon
.
Apply the application below. Let’s use aws in this example, you can get AWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY
per aws secret docs.
apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
name: aws
namespace: vela-system
spec:
components:
- name: aws
type: crossplane-aws
properties:
name: aws
AWS_ACCESS_KEY_ID: xxx
AWS_SECRET_ACCESS_KEY: yyy
After a Crossplane provider is authenticated, you can provision and/or consume cloud resources.
Last updated on 2023年8月4日 by Daniel Higuero