disable gateway

This commit is contained in:
2025-03-02 14:22:47 -06:00
parent 6811d37e9d
commit e918d88dd9
3 changed files with 68 additions and 72 deletions

View File

@@ -1,30 +1,30 @@
apiVersion: gateway.networking.k8s.io/v1 # apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute # kind: HTTPRoute
metadata: # metadata:
name: https-route-headlamp # name: https-route-headlamp
namespace: {{ .Release.Namespace }} # namespace: {{ .Release.Namespace }}
labels: # labels:
app.kubernetes.io/name: https-route-headlamp # app.kubernetes.io/name: https-route-headlamp
app.kubernetes.io/instance: {{ .Release.Name }} # app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }} # app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/component: web # app.kubernetes.io/component: web
app.kubernetes.io/part-of: {{ .Release.Name }} # app.kubernetes.io/part-of: {{ .Release.Name }}
spec: # spec:
parentRefs: # parentRefs:
- group: gateway.networking.k8s.io # - group: gateway.networking.k8s.io
kind: Gateway # kind: Gateway
name: https-gateway # name: https-gateway
namespace: kube-system # namespace: kube-system
hostnames: # hostnames:
- headlamp.alexlebens.net # - headlamp.alexlebens.net
rules: # rules:
- matches: # - matches:
- path: # - path:
type: PathPrefix # type: PathPrefix
value: / # value: /
backendRefs: # backendRefs:
- group: '' # - group: ''
kind: Service # kind: Service
name: headlamp # name: headlamp
port: 80 # port: 80
weight: 100 # weight: 100

View File

@@ -1,36 +1,36 @@
apiVersion: gateway.networking.k8s.io/v1 # apiVersion: gateway.networking.k8s.io/v1
kind: Gateway # kind: Gateway
metadata: # metadata:
name: https-gateway # name: https-gateway
namespace: {{ .Release.Namespace }} # namespace: {{ .Release.Namespace }}
labels: # labels:
app.kubernetes.io/name: https-gateway # app.kubernetes.io/name: https-gateway
app.kubernetes.io/instance: {{ .Release.Name }} # app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }} # app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/component: web # app.kubernetes.io/component: web
app.kubernetes.io/part-of: {{ .Release.Name }} # app.kubernetes.io/part-of: {{ .Release.Name }}
annotations: # annotations:
cert-manager.io/cluster-issuer: letsencrypt-issuer # cert-manager.io/cluster-issuer: letsencrypt-issuer
spec: # spec:
addresses: # addresses:
- type: IPAddress # - type: IPAddress
value: 10.232.1.23 # value: 10.232.1.23
gatewayClassName: cilium # gatewayClassName: cilium
listeners: # listeners:
- name: https # - name: https
protocol: HTTPS # protocol: HTTPS
port: 443 # port: 443
hostname: "*.alexlebens.net" # hostname: "*.alexlebens.net"
allowedRoutes: # allowedRoutes:
namespaces: # namespaces:
from: Selector # from: Selector
selector: # selector:
matchLabels: # matchLabels:
https-gateway-access: "true" # https-gateway-access: "true"
tls: # tls:
mode: Terminate # mode: Terminate
certificateRefs: # certificateRefs:
- group: '' # - group: ''
kind: Secret # kind: Secret
name: https-gateway-cert # name: https-gateway-cert
namespace: kube-system # namespace: kube-system

View File

@@ -29,8 +29,6 @@ cilium:
- SYS_RESOURCE - SYS_RESOURCE
l2announcements: l2announcements:
enabled: true enabled: true
bgpControlPlane:
enabled: true
enableK8sEndpointSlice: true enableK8sEndpointSlice: true
ciliumEndpointSlice: ciliumEndpointSlice:
enabled: true enabled: true
@@ -41,7 +39,7 @@ cilium:
name: cilium-secrets name: cilium-secrets
sync: true sync: true
gatewayAPI: gatewayAPI:
enabled: true enabled: false
enableAlpn: true enableAlpn: true
enableAppProtocol: true enableAppProtocol: true
secretsNamespace: secretsNamespace:
@@ -80,7 +78,7 @@ cilium:
enabled: true enabled: true
ipv6: ipv6:
enabled: false enabled: false
kubeProxyReplacement: "true" kubeProxyReplacement: true
l7Proxy: true l7Proxy: true
nodePort: nodePort:
enabled: true enabled: true
@@ -113,5 +111,3 @@ cilium:
autoMount: autoMount:
enabled: false enabled: false
hostRoot: /sys/fs/cgroup hostRoot: /sys/fs/cgroup
bpf:
masquerade: true