mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-23 01:14:38 +07:00
docs: update deploy instruction for external layer
This commit is contained in:
parent
08513dcda5
commit
3cfd670424
@ -16,14 +16,10 @@ Below is a list of external resources and why we need them.
|
|||||||
- Backblaze:
|
- Backblaze:
|
||||||
- B2 storage with S3 compatible API for offsite backup
|
- B2 storage with S3 compatible API for offsite backup
|
||||||
|
|
||||||
This layer will deploy resources that require external dependencies using the following provisioners:
|
This layer will:
|
||||||
|
|
||||||
- Terraform:
|
- Create external resources
|
||||||
- Create external resources
|
- Add external secrets to namespaces
|
||||||
- Add external secrets to namespaces
|
|
||||||
- Create an ApplicationSet
|
|
||||||
- ArgoCD (via the ApplicationSet created by Terraform):
|
|
||||||
- Deploy Helm charts in the subdirectories
|
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
@ -60,15 +56,7 @@ Type of Access: Read and Write
|
|||||||
|
|
||||||
## Deploy
|
## Deploy
|
||||||
|
|
||||||
Export environment variables for API keys:
|
Apply Terraform (you will be prompted to login to Terraform Cloud and enter API keys from the previous steps):
|
||||||
|
|
||||||
```sh
|
|
||||||
export CLOUDFLARE_API_TOKEN=xxx
|
|
||||||
export B2_APPLICATION_KEY_ID=xxx
|
|
||||||
export B2_APPLICATION_KEY=xxx
|
|
||||||
```
|
|
||||||
|
|
||||||
Apply Terraform:
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make
|
make
|
||||||
|
Loading…
Reference in New Issue
Block a user