disable cilium gateway

This commit is contained in:
2024-08-22 21:24:49 -05:00
parent 3ea870c0ce
commit 7fa4789b1c
4 changed files with 1 additions and 87 deletions

View File

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

View File

@@ -1,22 +0,0 @@
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: wildcard-tls-alexlebens-net
namespace: cilium
labels:
app.kubernetes.io/name: wildcard-tls-alexlebens-net
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/component: network
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:
secretName: wildcard-tls-alexlebens-net
duration: 2160h0m0s
renewBefore: 360h0m0s
dnsNames:
- "alexlebens.net"
- "*.alexlebens.net"
issuerRef:
name: letsencrypt-issuer
kind: ClusterIssuer
commonName: "*.alexlebens.net"

View File

@@ -1,34 +0,0 @@
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: cilium-http-gateway
namespace: cilium
labels:
app.kubernetes.io/name: cilium-http-gateway
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/component: network
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:
gatewayClassName: cilium
listeners:
- name: http
protocol: HTTP
port: 80
hostname: "*.alexlebens.net"
allowedRoutes:
namespaces:
from: All
- name: https
protocol: HTTPS
port: 443
hostname: "*.alexlebens.net"
allowedRoutes:
namespaces:
from: All
tls:
mode: Terminate
certificateRefs:
- kind: Secret
group: core
name: wildcard-tls-alexlebens-net

View File

@@ -31,7 +31,7 @@ cilium:
ingressController:
enabled: false
gatewayAPI:
enabled: true
enabled: false
hubble:
enabled: true
metrics: