deploy gateway into single cilium instance

This commit is contained in:
2024-08-21 22:59:48 -05:00
parent d1cc253276
commit cf91be2747
3 changed files with 9 additions and 5 deletions

View File

@@ -13,7 +13,8 @@ spec:
parentRefs: parentRefs:
- group: gateway.networking.k8s.io - group: gateway.networking.k8s.io
kind: Gateway kind: Gateway
name: authentik-tls-gateway name: cilium-tls-gateway
namespace: kube-system
sectionName: https sectionName: https
hostnames: hostnames:
- auth.alexlebens.net - auth.alexlebens.net
@@ -49,7 +50,8 @@ spec:
parentRefs: parentRefs:
- group: gateway.networking.k8s.io - group: gateway.networking.k8s.io
kind: Gateway kind: Gateway
name: authentik-tls-gateway name: cilium-tls-gateway
namespace: kube-system
sectionName: http sectionName: http
hostnames: hostnames:
- auth.alexlebens.net - auth.alexlebens.net

View File

@@ -19,4 +19,3 @@ spec:
name: letsencrypt-issuer name: letsencrypt-issuer
kind: ClusterIssuer kind: ClusterIssuer
commonName: "*.alexlebens.net" commonName: "*.alexlebens.net"

View File

@@ -1,10 +1,10 @@
apiVersion: gateway.networking.k8s.io/v1 apiVersion: gateway.networking.k8s.io/v1
kind: Gateway kind: Gateway
metadata: metadata:
name: authentik-tls-gateway name: cilium-tls-gateway
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
labels: labels:
app.kubernetes.io/name: authentik-tls-gateway app.kubernetes.io/name: cilium-tls-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: network app.kubernetes.io/component: network
@@ -21,6 +21,9 @@ spec:
protocol: HTTPS protocol: HTTPS
port: 443 port: 443
hostname: "*.alexlebens.net" hostname: "*.alexlebens.net"
allowedRoutes:
namespaces:
from: All
tls: tls:
mode: Terminate mode: Terminate
certificateRefs: certificateRefs: