Skip to content

Commit

Permalink
small docs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljguarino committed Apr 25, 2024
1 parent 9c08259 commit 9affe32
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion existing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ You'll need to do a few things to get set up:

To do all this, you'll want to create your own git repo to copy code into and keep a record of what's been done. None of the code will require committing any secrets.

To setup your repo you'll want to copy the following folders in your fresh git repo:

* terraform/clouds/{cloud} -> terraform/mgmt
* existing/terraform/{cloud} -> terraform/externaldns
* exsting/test/{cloud}/*.tf -> terraform/*.tf (you'll need to rewire the `source` fields for the modules and make variable name changes)
* existing/setup -> setup
* helm -> helm-values

## Installing Cloud Prereqs

Within the `terraform/{cloud}` folders here, there are simple terraform stacks to set up the needed cloud resources. These are usually IAM bindings. You can reference `test/{cloud}` to see how they're used, and if you want you can use our terraform to set up our cluster as well. You'll want to first copy the relevant terraform code into a working folder in your git repo, we'd recommend just naming it `/terraform`, then run:
Expand Down Expand Up @@ -100,7 +108,7 @@ Name: setup
Cluster: <management-cluster>
Repository: <your-repository-url>
Branch: main
Folder: <your-setup-folder>
Folder: setup
```

These can all be entered in our UI for simplicity, and from there, you can use your git repository to GitOps freely.
Expand Down
2 changes: 1 addition & 1 deletion existing/setup/servicedeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ spec:
version: "0.x.x"
chart: runtime
valuesFiles:
- certmanager.yaml
- runtime.yaml
repository:
namespace: infra
name: bootstrap
Expand Down

0 comments on commit 9affe32

Please sign in to comment.