Skip to content

Commit

Permalink
Merge pull request #124 from axivo/doc/cloudflare
Browse files Browse the repository at this point in the history
Update key prefix setting
  • Loading branch information
fmunteanu authored Jun 1, 2024
2 parents 611b386 + 131ace0 commit 1e9738f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
16 changes: 14 additions & 2 deletions k3s-cluster/content/tutorials/handbook/cloudflare/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,23 @@ This repository uses [Cloudflare](https://www.cloudflare.com) combined with `ext
Generate the domain [API token](https://developers.cloudflare.com/fundamentals/api/get-started/create-token/), with following permissions:

{{< filetree/container >}}
{{< filetree/folder name="AXIVO" >}}
{{< filetree/folder name="noty.cc - Zone:Read, DNS:Edit" state="closed" >}}
{{< filetree/folder name="ACCOUNT" >}}
{{< filetree/folder name="domain.com - Zone:Read, DNS:Edit" state="closed" >}}
{{< /filetree/folder >}}
{{< /filetree/folder >}}
{{< /filetree/container >}}

Encrypt the `token.value` with [`ansible-vault`](/k3s-cluster/tutorials/handbook/ansible/#vault) and insert it into
[`main.yaml`](https://{{< param variables.repository >}}/blob/main/roles/cloudflare/defaults/main.yaml) defaults file.

## Front-Ends

The following front-ends are available, once the cluster is provisioned successfully:

- AlertManager, `https://alertmanager.domain.com`
- ArgoCD, `https://argocd.domain.com`
- Longhorn, `https://longhorn.domain.com`
- Grafana, `https://grafana.domain.com`
- Prometheus, `https://prometheus.domain.com`

Update the `gateway.domain` setting into [`main.yaml`](https://{{< param variables.repository >}}/blob/main/roles/cloudflare/defaults/main.yaml) defaults file.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ Read the [Gateway API](/k3s-cluster/tutorials/handbook/cilium/#gateway-api) tuto

##### `tls.key_prefix`

- Default value: `string`, `cloudflare-tls`
- Default value: `string`, `cloudflare`

{{% /steps %}}

Expand Down

0 comments on commit 1e9738f

Please sign in to comment.