Skip to content

Commit bcc508f

Browse files
committed
feat(networking): move to gateway api
1 parent 8415fa8 commit bcc508f

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

kubernetes/apps/kube-system/cilium/ingress/internal.yaml

+5-8
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,13 @@ kind: Gateway
44
metadata:
55
name: internal
66
annotations:
7-
external-dns.alpha.kubernetes.io/hostname: internal.ktwo.io
7+
external-dns.alpha.kubernetes.io/target: &hostname internal.ktwo.io
88
spec:
99
gatewayClassName: cilium
10-
addresses:
11-
- type: IPAddress
12-
value: 192.168.20.81
13-
- type: IPAddress
14-
value: ::ffff:c0a8:1451
15-
- type: Hostname
16-
value: internal.ktwo.io
10+
infrastructure:
11+
annotations:
12+
external-dns.alpha.kubernetes.io/hostname: *hostname
13+
lbipam.cilium.io/ips: 192.168.20.81, ::ffff:c0a8:1451
1714
listeners:
1815
- name: http
1916
protocol: HTTP

kubernetes/apps/networking/external-dns/unifi/helmrelease.yaml

+1-3
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,9 @@ spec:
5454
port: http-webhook
5555
initialDelaySeconds: 10
5656
timeoutSeconds: 5
57-
extraArgs:
58-
- --gateway-namespace=kube-system
5957
triggerLoopOnEvent: true
6058
policy: sync
61-
sources: ["gateway-httproute"]
59+
sources: ["gateway-httproute", "service"]
6260
txtOwnerId: k8s
6361
txtPrefix: k8s.
6462
domainFilters: ["ktwo.io"]

0 commit comments

Comments
 (0)