1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-24 15:11:38 +00:00

Add authentik, tidy up recipe-footer

Signed-off-by: David Young <davidy@funkypenguin.co.nz>
This commit is contained in:
David Young
2023-10-31 14:37:29 +13:00
parent 0378e356fe
commit f22dd8eb50
142 changed files with 805 additions and 708 deletions

View File

@@ -0,0 +1,21 @@
### {{ page.meta.slug }} DNSEndpoint
If, like me, you prefer to create your DNS records the "GitOps way" using [ExternalDNS](/kubernetes/external-dns/), create something like the following example to create a DNS entry for your Authentik ingress:
```yaml title="/{{ page.meta.helmrelease_namespace }}/dnsendpoint-{{ page.meta.helmrelease_name }}.example.com.yaml"
apiVersion: externaldns.k8s.io/v1alpha1
kind: DNSEndpoint
metadata:
name: "{{ page.meta.helmrelease_name }}.example.com"
namespace: {{ page.meta.helmrelease_namespace }}
spec:
endpoints:
- dnsName: "{{ page.meta.helmrelease_name }}.example.com"
recordTTL: 180
recordType: CNAME
targets:
- "traefik-ingress.example.com"
```
!!! tip
Rather than creating individual A records for each host, I prefer to create one A record (*`nginx-ingress.example.com` in the example above*), and then create individual CNAME records pointing to that A record.