Skip to content

Commit

Permalink
Merge pull request #16 from portefaix/feat/reorganize
Browse files Browse the repository at this point in the history
Organization
  • Loading branch information
nlamirault authored Aug 18, 2022
2 parents 6316028 + 188caef commit fe36d8e
Show file tree
Hide file tree
Showing 62 changed files with 68 additions and 2 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@

Build cloud platform using [Kubernetes Resources Model](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/architecture/resource-management.md)

Tools:

* [Crossplane](https://crossplane.io)
* [ACK](https://aws-controllers-k8s.github.io/community/)
* [Config Connector](https://cloud.google.com/config-connector/docs/overview)
* [Azure Service Operator](https://github.com/Azure/azure-service-operator)

### Core

* Create Kind cluster :
Expand Down
2 changes: 1 addition & 1 deletion hack/config/licence.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (C) 2021 Nicolas Lamirault <[email protected]>
Copyright (C) Nicolas Lamirault <[email protected]>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion hack/kind-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2021 Nicolas Lamirault <[email protected]>
# Copyright (C) Nicolas Lamirault <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
59 changes: 59 additions & 0 deletions krm/crossplane/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
### KRM / Crossplane

* Create Kind cluster :

```shell
> make kind-create ENV=local
```

* Install Crossplane:

```shell
> make crossplane-controlplane ACTION=apply
```

### Cloud provider credentials

* AWS

```shell
> make crossplane-aws-credentials AWS_ACCESS_KEY=xxxxxx AWS_SECRET_KEY=xxxxxxxxx
```

* GCP

```shell
> make crossplane-gcp-credentials GCP_PROJECT_ID=myproject-prod GCP_SERVICE_ACCOUNT_NAME=kubernetes-krm
```

* Azure

```shell
> make crossplane-azure-credentials AZURE_SUBSCRIPTION_ID=xxxxxxx AZURE_PROJECT_NAME=xxxxxx
```

### Crossplane Cloud Provider configuration

* Choose the cloud provider (`aws`, `gcp` or `azure`)

```shell
> export CROSSPLANE_CLOUD_PROVIDER=xxx
```

* Install Crossplane provider:

```shell
> make crossplane-provider CLOUD=${CROSSPLANE_CLOUD_PROVIDER} ACTION=apply
```

* Setup Crossplane configuration:

```shell
❯ make crossplane-config CLOUD=${CROSSPLANE_CLOUD_PROVIDER} ACTION=apply
```

* Deploy infrastructure:

```shell
❯ make crossplane-infra CLOUD=${CROSSPLANE_CLOUD_PROVIDER} ACTION=apply
```
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit fe36d8e

Please sign in to comment.