fix: use ingress subdomain instead of ipv4 to better reflect usage
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
5 files changed
+7
-7
No files matched your search
@@ -56,7 +56,7 @@ spec:
|
|||||||
enabled: true
|
enabled: true
|
||||||
ingressClassName: nginx
|
ingressClassName: nginx
|
||||||
annotations:
|
annotations:
|
||||||
external-dns.alpha.kubernetes.io/target: "ipv4.${SECRET_DOMAIN}"
|
external-dns.alpha.kubernetes.io/target: "ingress.${SECRET_DOMAIN}"
|
||||||
hajimari.io/icon: video-input-antenna
|
hajimari.io/icon: video-input-antenna
|
||||||
hosts:
|
hosts:
|
||||||
- host: &host "{{ .Release.Name }}.${SECRET_DOMAIN}"
|
- host: &host "{{ .Release.Name }}.${SECRET_DOMAIN}"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ metadata:
|
|||||||
name: flux-webhook
|
name: flux-webhook
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
annotations:
|
annotations:
|
||||||
external-dns.alpha.kubernetes.io/target: "ipv4.${SECRET_DOMAIN}"
|
external-dns.alpha.kubernetes.io/target: "ingress.${SECRET_DOMAIN}"
|
||||||
hajimari.io/enable: "false"
|
hajimari.io/enable: "false"
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: nginx
|
ingressClassName: nginx
|
||||||
|
|||||||
@@ -10,9 +10,9 @@ ingress:
|
|||||||
- hostname: "${SECRET_DOMAIN}"
|
- hostname: "${SECRET_DOMAIN}"
|
||||||
service: https://ingress-nginx-controller.networking.svc.cluster.local:443
|
service: https://ingress-nginx-controller.networking.svc.cluster.local:443
|
||||||
originRequest:
|
originRequest:
|
||||||
originServerName: "ipv4.${SECRET_DOMAIN}"
|
originServerName: "ingress.${SECRET_DOMAIN}"
|
||||||
- hostname: "*.${SECRET_DOMAIN}"
|
- hostname: "*.${SECRET_DOMAIN}"
|
||||||
service: https://ingress-nginx-controller.networking.svc.cluster.local:443
|
service: https://ingress-nginx-controller.networking.svc.cluster.local:443
|
||||||
originRequest:
|
originRequest:
|
||||||
originServerName: "ipv4.${SECRET_DOMAIN}"
|
originServerName: "ingress.${SECRET_DOMAIN}"
|
||||||
- service: http_status:404
|
- service: http_status:404
|
||||||
@@ -5,9 +5,9 @@ metadata:
|
|||||||
name: cloudflared
|
name: cloudflared
|
||||||
namespace: networking
|
namespace: networking
|
||||||
annotations:
|
annotations:
|
||||||
external-dns.alpha.kubernetes.io/target: "ipv4.${SECRET_DOMAIN}"
|
external-dns.alpha.kubernetes.io/target: "ingress.${SECRET_DOMAIN}"
|
||||||
spec:
|
spec:
|
||||||
endpoints:
|
endpoints:
|
||||||
- dnsName: "ipv4.${SECRET_DOMAIN}"
|
- dnsName: "ingress.${SECRET_DOMAIN}"
|
||||||
recordType: CNAME
|
recordType: CNAME
|
||||||
targets: ["${SECRET_CLOUDFLARE_TUNNEL_ID}.cfargotunnel.com"]
|
targets: ["${SECRET_CLOUDFLARE_TUNNEL_ID}.cfargotunnel.com"]
|
||||||
@@ -32,7 +32,7 @@ spec:
|
|||||||
value: "${TIMEZONE}"
|
value: "${TIMEZONE}"
|
||||||
service:
|
service:
|
||||||
annotations:
|
annotations:
|
||||||
external-dns.alpha.kubernetes.io/hostname: "ipv4.${SECRET_DOMAIN}"
|
external-dns.alpha.kubernetes.io/hostname: "ingress.${SECRET_DOMAIN}"
|
||||||
loadBalancerIP: "${METALLB_INGRESS_ADDR}"
|
loadBalancerIP: "${METALLB_INGRESS_ADDR}"
|
||||||
externalTrafficPolicy: Local
|
externalTrafficPolicy: Local
|
||||||
publishService:
|
publishService:
|
||||||
|
|||||||
Reference in new issue
Block a user