chore(cilium): Remove public gateway

This commit is contained in:
Peter 2026-01-17 22:47:01 +01:00
parent 2ea0c9a844
commit 5148ca1183
Signed by: Peter
SSH key fingerprint: SHA256:B5tYaxBExaDm74r1px9iVeZ6F/ZDiyiy9SbBqfZYrvg
3 changed files with 1 additions and 38 deletions

View file

@ -1,28 +0,0 @@
---
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: public
spec:
gatewayClassName: cilium
infrastructure:
addresses:
- type: IPAddress
value: 10.7.65.250
listeners:
- allowedRoutes:
namespaces:
from: All
name: http
port: 80
protocol: HTTP
- allowedRoutes:
namespaces:
from: All
name: https
port: 443
protocol: HTTPS
tls:
certificateRefs:
- kind: Secret
name: tls-wildcard-peterg-nl

View file

@ -3,14 +3,6 @@ apiVersion: "cilium.io/v2alpha1"
kind: CiliumLoadBalancerIPPool kind: CiliumLoadBalancerIPPool
metadata: metadata:
name: internal-pool name: internal-pool
spec:
blocks:
- cidr: "10.7.65.251/32"
---
apiVersion: "cilium.io/v2alpha1"
kind: CiliumLoadBalancerIPPool
metadata:
name: public-pool
spec: spec:
blocks: blocks:
- cidr: "10.7.65.250/32" - cidr: "10.7.65.250/32"

View file

@ -6,14 +6,13 @@ namespace: kube-system
resources: resources:
- ../../kustomize-bases/cilium - ../../kustomize-bases/cilium
- ip-pool.yaml - ip-pool.yaml
- gateways.yaml
- httproute.yaml - httproute.yaml
patches: patches:
- patch: |- - patch: |-
- op: replace - op: replace
path: /spec/addresses/0/value path: /spec/addresses/0/value
value: 10.7.65.251 value: 10.7.65.250
- op: replace - op: replace
path: /spec/listeners/1/tls/certificateRefs/0/name path: /spec/listeners/1/tls/certificateRefs/0/name
value: tls-wildcard-peterg-nl value: tls-wildcard-peterg-nl