gitops/cilium: move gateway listeners from helm values to Gateway resource

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jan Novak
2026-02-19 01:02:14 +01:00
parent b2daa822a6
commit 6454c893cb
2 changed files with 18 additions and 26 deletions

View File

@@ -6,15 +6,21 @@ metadata:
namespace: kube-system namespace: kube-system
spec: spec:
gatewayClassName: cilium gatewayClassName: cilium
listeners: listeners:
- name: http - name: http
protocol: HTTP port: 80
port: 80 protocol: HTTP
- name: https allowedRoutes:
protocol: HTTPS namespaces:
port: 443 from: All
tls: - name: https
mode: Terminate port: 443
certificateRefs: protocol: HTTPS
- kind: Secret allowedRoutes:
name: gateway-tls namespaces:
from: All
tls:
mode: Terminate
certificateRefs:
- kind: Secret
name: gateway-tls

View File

@@ -33,20 +33,6 @@ spec:
enabled: true enabled: true
gatewayAPI: gatewayAPI:
enabled: true enabled: true
gateway:
listeners:
- name: http
port: 80
protocol: HTTP
allowedRoutes:
namespaces:
from: All
- name: https
port: 443
protocol: HTTPS
allowedRoutes:
namespaces:
from: All
kubeProxyReplacement: true kubeProxyReplacement: true
k8sServiceHost: 192.168.0.31 # or LB IP k8sServiceHost: 192.168.0.31 # or LB IP
k8sServicePort: 6443 k8sServicePort: 6443