comment out gateway resources
This commit is contained in:
@@ -1,67 +1,67 @@
|
|||||||
apiVersion: gateway.networking.k8s.io/v1
|
# apiVersion: gateway.networking.k8s.io/v1
|
||||||
kind: HTTPRoute
|
# kind: HTTPRoute
|
||||||
metadata:
|
# metadata:
|
||||||
name: authentik-https-app-route
|
# name: authentik-https-app-route
|
||||||
namespace: {{ .Release.Namespace }}
|
# namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
# labels:
|
||||||
app.kubernetes.io/name: authentik-https-app-route
|
# app.kubernetes.io/name: authentik-https-app-route
|
||||||
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
|
||||||
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: cilium-tls-gateway
|
# name: cilium-tls-gateway
|
||||||
namespace: cilium
|
# namespace: cilium
|
||||||
sectionName: https
|
# sectionName: https
|
||||||
hostnames:
|
# hostnames:
|
||||||
- auth.alexlebens.net
|
# - auth.alexlebens.net
|
||||||
rules:
|
# rules:
|
||||||
- matches:
|
# - matches:
|
||||||
- path:
|
# - path:
|
||||||
type: PathPrefix
|
# type: PathPrefix
|
||||||
value: /
|
# value: /
|
||||||
- backendRefs:
|
# - backendRefs:
|
||||||
- group: ''
|
# - group: ''
|
||||||
kind: Service
|
# kind: Service
|
||||||
name: authentik-server
|
# name: authentik-server
|
||||||
port: 80
|
# port: 80
|
||||||
weight: 1
|
# weight: 1
|
||||||
matches:
|
# matches:
|
||||||
- path:
|
# - path:
|
||||||
type: PathPrefix
|
# type: PathPrefix
|
||||||
value: /
|
# value: /
|
||||||
|
|
||||||
---
|
# ---
|
||||||
apiVersion: gateway.networking.k8s.io/v1
|
# apiVersion: gateway.networking.k8s.io/v1
|
||||||
kind: HTTPRoute
|
# kind: HTTPRoute
|
||||||
metadata:
|
# metadata:
|
||||||
name: authentik-http-redirect
|
# name: authentik-http-redirect
|
||||||
namespace: {{ .Release.Namespace }}
|
# namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
# labels:
|
||||||
app.kubernetes.io/name: authentik-http-redirect
|
# app.kubernetes.io/name: authentik-http-redirect
|
||||||
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
|
||||||
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: cilium-tls-gateway
|
# name: cilium-tls-gateway
|
||||||
namespace: cilium
|
# namespace: cilium
|
||||||
sectionName: http
|
# sectionName: http
|
||||||
hostnames:
|
# hostnames:
|
||||||
- auth.alexlebens.net
|
# - auth.alexlebens.net
|
||||||
rules:
|
# rules:
|
||||||
- filters:
|
# - filters:
|
||||||
- requestRedirect:
|
# - requestRedirect:
|
||||||
scheme: https
|
# scheme: https
|
||||||
statusCode: 301
|
# statusCode: 301
|
||||||
type: RequestRedirect
|
# type: RequestRedirect
|
||||||
matches:
|
# matches:
|
||||||
- path:
|
# - path:
|
||||||
type: PathPrefix
|
# type: PathPrefix
|
||||||
value: /
|
# value: /
|
||||||
|
@@ -1,36 +1,36 @@
|
|||||||
apiVersion: gateway.networking.k8s.io/v1
|
# apiVersion: gateway.networking.k8s.io/v1
|
||||||
kind: Gateway
|
# kind: Gateway
|
||||||
metadata:
|
# metadata:
|
||||||
name: cilium-tls-gateway
|
# name: cilium-tls-gateway
|
||||||
namespace: cilium
|
# namespace: cilium
|
||||||
labels:
|
# labels:
|
||||||
app.kubernetes.io/name: cilium-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
|
||||||
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:
|
||||||
gatewayClassName: cilium
|
# gatewayClassName: cilium
|
||||||
listeners:
|
# listeners:
|
||||||
- name: http
|
# - name: http
|
||||||
protocol: HTTP
|
# protocol: HTTP
|
||||||
port: 80
|
# port: 80
|
||||||
hostname: "*.alexlebens.net"
|
# hostname: "*.alexlebens.net"
|
||||||
allowedRoutes:
|
# allowedRoutes:
|
||||||
namespaces:
|
# namespaces:
|
||||||
from: All
|
# from: All
|
||||||
- name: https
|
# - name: https
|
||||||
protocol: HTTPS
|
# protocol: HTTPS
|
||||||
port: 443
|
# port: 443
|
||||||
hostname: "*.alexlebens.net"
|
# hostname: "*.alexlebens.net"
|
||||||
allowedRoutes:
|
# allowedRoutes:
|
||||||
namespaces:
|
# namespaces:
|
||||||
from: All
|
# from: All
|
||||||
tls:
|
# tls:
|
||||||
mode: Terminate
|
# mode: Terminate
|
||||||
certificateRefs:
|
# certificateRefs:
|
||||||
- kind: Secret
|
# - kind: Secret
|
||||||
group: core
|
# group: core
|
||||||
name: wildcard-tls-alexlebens-net
|
# name: wildcard-tls-alexlebens-net
|
||||||
|
Reference in New Issue
Block a user