feat: external-dns ingress

This commit is contained in:
auricom
2022-06-25 02:09:21 +02:00
parent 0e3660a8ff
commit b06e6506a8
9 changed files with 27 additions and 30 deletions

View File

@@ -42,8 +42,9 @@ spec:
main:
enabled: true
ingressClassName: "nginx"
# annotations:
# traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
annotations:
external-dns.alpha.kubernetes.io/target: "services.${SECRET_CLUSTER_DOMAIN_ROOT}."
external-dns/is-public: "true"
hosts:
- host: "joplin.${SECRET_CLUSTER_DOMAIN}"
paths:

View File

@@ -116,9 +116,9 @@ spec:
enabled: true
ingressClassName: "nginx"
annotations:
external-dns.alpha.kubernetes.io/target: "services.${SECRET_CLUSTER_DOMAIN_ROOT}."
external-dns/is-public: "true"
nginx.ingress.kubernetes.io/proxy-body-size: "0"
# traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
# traefik.ingress.kubernetes.io/router.middlewares: networking-buffering-large@kubernetescrd
hosts:
- host: "sharry.${SECRET_CLUSTER_DOMAIN}"
paths:

View File

@@ -53,8 +53,9 @@ spec:
main:
enabled: true
ingressClassName: "nginx"
# annotations:
# traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
annotations:
external-dns.alpha.kubernetes.io/target: "services.${SECRET_CLUSTER_DOMAIN_ROOT}."
external-dns/is-public: "true"
hosts:
- host: "vaultwarden.${SECRET_CLUSTER_DOMAIN}"
paths:

View File

@@ -43,8 +43,9 @@ spec:
main:
enabled: true
ingressClassName: "nginx"
# annotations:
# traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
annotations:
external-dns.alpha.kubernetes.io/target: "services.${SECRET_CLUSTER_DOMAIN_ROOT}."
external-dns/is-public: "true"
hosts:
- host: "vikunja.${SECRET_CLUSTER_DOMAIN}"
paths:

View File

@@ -64,8 +64,9 @@ spec:
main:
enabled: true
ingressClassName: "nginx"
# annotations:
# traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
annotations:
external-dns.alpha.kubernetes.io/target: "services.${SECRET_CLUSTER_DOMAIN_ROOT}."
external-dns/is-public: "true"
hosts:
- host: "wallabag.${SECRET_CLUSTER_DOMAIN}"
paths:

View File

@@ -55,8 +55,9 @@ spec:
main:
enabled: true
ingressClassName: "nginx"
# annotations:
# traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
annotations:
external-dns.alpha.kubernetes.io/target: "services.${SECRET_CLUSTER_DOMAIN_ROOT}."
external-dns/is-public: "true"
hosts:
- host: "jellyfin.${SECRET_CLUSTER_DOMAIN}"
paths:

View File

@@ -54,8 +54,9 @@ spec:
main:
enabled: true
ingressClassName: "nginx"
# annotations:
# traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
annotations:
external-dns.alpha.kubernetes.io/target: "services.${SECRET_CLUSTER_DOMAIN_ROOT}."
external-dns/is-public: "true"
hosts:
- host: "lychee.${SECRET_CLUSTER_DOMAIN}"
paths:

View File

@@ -55,8 +55,9 @@ spec:
main:
enabled: true
ingressClassName: "nginx"
# annotations:
# traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
annotations:
external-dns.alpha.kubernetes.io/target: "services.${SECRET_CLUSTER_DOMAIN_ROOT}."
external-dns/is-public: "true"
hosts:
- host: "healthchecks.${SECRET_CLUSTER_DOMAIN}"
paths:

View File

@@ -8,7 +8,6 @@ spec:
interval: 5m
chart:
spec:
# renovate: registryUrl=https://charts.authelia.com
chart: authelia
version: 0.8.34
sourceRef:
@@ -27,8 +26,10 @@ spec:
ingress:
enabled: true
# annotations:
# traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
className: nginx
annotations:
external-dns.alpha.kubernetes.io/target: "services.${SECRET_CLUSTER_DOMAIN_ROOT}."
external-dns/is-public: "true"
subdomain: login
tls:
@@ -163,14 +164,3 @@ spec:
key: STORAGE_ENCRYPTION_KEY
value: "${SECRET_AUTHELIA_STORAGE_ENCRYPTION_KEY}"
filename: STORAGE_ENCRYPTION_KEY
postRenderers:
- kustomize:
patchesJson6902:
- target:
kind: Ingress
name: authelia
patch:
- op: add
path: /spec/ingressClassName
value: nginx