Skip to content

Commit e247bd0

Browse files
committed
update readme
1 parent a1b4c46 commit e247bd0

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

README.md

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,18 @@ Deploy a platform on Google Cloud by setting up basic infrastructure using varia
1515

1616
### TODO
1717

18+
- Refactor using module composition and Dependency Inversion
1819
- Test on a new GCP project
19-
- Automatic dns record (set A record to new static IP)
20+
- ~~Automatic dns record (set A record to new static IP)~~
2021
- Variables for Cluster and Node Pool configurations machine type, HPA, etc.
21-
- Add monitoring (new relic)
22+
- ~~Add monitoring (new relic)~~
2223
- CloudSQL (Postgres, MySQL)
2324
- Caching (Redis, MemoryStore)
2425
- ...
2526

2627
### Notes
2728

28-
- You have to update your `ingress_hosts` A records in order to get traffic to your site. And to generate the SSL certificate.
29+
- ~~You have to update your `ingress_hosts` A records in order to get traffic to your site. And to generate the SSL certificate.~~
2930
- You may need to modify the `certmanager` module to support your particular certificate needs. Current implementation uses [dns01 challenge solver with cloudflare](https://cert-manager.io/docs/configuration/acme/dns01/cloudflare/).
3031

3132
### Usage
@@ -40,16 +41,29 @@ Deploy a platform on Google Cloud by setting up basic infrastructure using varia
4041
### Variables
4142

4243
```SHELL
44+
name_prefix_kebab = "some-svc"
4345
project_id = "project-id"
4446
project_region = "us-central1"
4547
credentials_file_path = "/path/to/sa/creds.json"
4648
sa_email = "terraform-admin@project-id.iam.gserviceaccount.com"
4749
cluster_issuer_private_key_secret_name = "cert-manager-private-key"
4850
ingress_hosts = {
49-
ftp_svc = "some-svc.example.com"
51+
ftp_svc = {
52+
"zone_id" = "XXX"
53+
"domain" = "some-svc.example.com"
54+
}
5055
}
5156
cluster_issuer_email = "your.email@gmail.com"
57+
5258
cloudflare_email = "your.email@gmail.com"
53-
name_prefix_kebab = "some-svc"
5459
cloudflare_api_key = "XXX"
60+
61+
# https://docs.newrelic.com/install/kubernetes/
62+
nr_account_id = 1234567
63+
nr_api_key = "NRAK-XXX"
64+
nr_sa = "randomAccount@newrelic-gcp.iam.gserviceaccount.com"
65+
nr_global_license_key = "XXX"
66+
nr_newrelic_pixie_api_key = "XXX"
67+
nr_pixie_chart_deploy_key = "XXX"
68+
5569
```

0 commit comments

Comments
 (0)