@@ -13,17 +13,41 @@ They are defined in independent directories, as follows:
13
13
- ` applications ` : Terraform modules for configuring specific application of the infrastructure, such as Authentik for
14
14
the SSO page and authentication providers, and Hashicorp Vault for the reader device PKI exchange. Delivered
15
15
automatically using GitHub Actions from the ` production ` branch, triggered by ArgoCD after deployments.
16
+ - ` dockerfiles ` : Dockerfiles for the applications that are deployed on the cluster. These are built and pushed to the
17
+ GitHub Container Registry using GitHub Actions. The images are then deployed using ArgoCD. The ` production ` branch
18
+ is the one that is packaged.
16
19
17
20
## Variables and secrets
18
21
22
+ #### Infrastructure
23
+
19
24
The infrastructure depends on several variables and secrets that are stored in the context for GitHub Actions.
20
25
You'll find below a list of them and their purpose.
21
26
22
27
| Name | Description |
23
- | -------------- | ----------------------------------------------------------- |
28
+ | ------------ | --------------------------------------------------------- |
24
29
| ` AWS_REGION ` | The AWS region where the infrastructure will be deployed. |
25
30
| ` AWS_ARN ` | The ARN that should be assumed when deploying changes. |
26
31
32
+ | Variable | Description |
33
+ | -------------------- | --------------------------------------------------------- |
34
+ | ` aws_region ` | The AWS region where the infrastructure will be deployed. |
35
+ | ` aws_arn ` | The ARN that should be assumed when deploying changes. |
36
+ | ` cloudflare_api_key ` | The Cloudflare API key for changes |
37
+ | ` dkim_public_key ` | The public key for the mail DKIM signature |
38
+ | ` dkim_private_key ` | The private key for the mail DKIM signature |
39
+
40
+ #### Applications
41
+
42
+ The applications context depends on several variables and secrets that are stored in the context for GitHub Actions.
43
+
44
+ | Variable | Description |
45
+ | -------------------------- | ---------------------------------------------------- |
46
+ | ` authentik_url ` | The URL of the Authentik instance to configure |
47
+ | ` authentik_api_key ` | The API key for Authentik |
48
+ | ` vault_oidc_client_id ` | The client ID for the OIDC proxy to GitHub OAuth |
49
+ | ` vault_oidc_client_secret ` | The client secret for the OIDC proxy to GitHub OAuth |
50
+
27
51
## Continuous Delivery
28
52
29
53
The infrastructure is deployed using GitHub Actions. The workflow is defined in ` .github/workflows/terraform-apply.yml ` .
0 commit comments