provider-crossplane

module
v0.8.0-rc4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2024 License: MIT

README

provider-crossplane

Overview

The purpose of this repository is to manage and integrate some infrastructure resources in AWS leveraging on Crossplane. It's currently in an early development stage.

Running

Before you start make sure you have access to the AWS account where you'll be creating your resources for testing. Also on your machine you should have Docker and tilt properly configured, including enable kubernetes on docker. Next we can start running

make setup-dev-env

The script will start up tilt and by the end you'll be able to open tilt UI by pressing SPACE. On that UI you'll see 8 resources on your control cluster stuck on the Waiting on Wait AWS Credentials step.

Now open a new shell and set the environment vars for the AWS credentials of the account you'll use, next run the following script to create the necessary kubernetes secrets with those credentials in your local tilt cluster.

./hack/scripts/aws-provider-config.sh

If the script is successful you should see that all the components on tilt UI are running after a while.

Now run the following script to create your testing resources

KOPS_DOMAIN=your.k8s.domain KOPS_BUCKET=kops-config-bucket KOPS_ZONE=aws-zone hack/scripts/apply-cluster-crs.sh kaas-cluster

Directories

Path Synopsis
api
clustermesh.infrastructure/v1alpha1
Package v1alpha1 contains API Schema definitions for the clustermesh.infrastructure v1alpha1 API group +kubebuilder:object:generate=true +groupName=clustermesh.infrastructure.wildlife.io
Package v1alpha1 contains API Schema definitions for the clustermesh.infrastructure v1alpha1 API group +kubebuilder:object:generate=true +groupName=clustermesh.infrastructure.wildlife.io
ec2.aws/v1alpha2
Package v1alpha2 contains API Schema definitions for the ec2.aws v1alpha2 API group +kubebuilder:object:generate=true +groupName=ec2.aws.wildlife.io
Package v1alpha2 contains API Schema definitions for the ec2.aws v1alpha2 API group +kubebuilder:object:generate=true +groupName=ec2.aws.wildlife.io
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL