deploy gateway into single cilium instance
This commit is contained in:
@@ -19,4 +19,3 @@ spec:
|
||||
name: letsencrypt-issuer
|
||||
kind: ClusterIssuer
|
||||
commonName: "*.alexlebens.net"
|
||||
|
||||
|
33
clusters/cl01tl/standalone/cilium/templates/gateway.yaml
Normal file
33
clusters/cl01tl/standalone/cilium/templates/gateway.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: Gateway
|
||||
metadata:
|
||||
name: cilium-tls-gateway
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
app.kubernetes.io/name: cilium-tls-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 }}
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-issuer
|
||||
spec:
|
||||
gatewayClassName: cilium
|
||||
listeners:
|
||||
- name: http
|
||||
protocol: HTTP
|
||||
port: 80
|
||||
- name: https
|
||||
protocol: HTTPS
|
||||
port: 443
|
||||
hostname: "*.alexlebens.net"
|
||||
allowedRoutes:
|
||||
namespaces:
|
||||
from: All
|
||||
tls:
|
||||
mode: Terminate
|
||||
certificateRefs:
|
||||
- kind: Secret
|
||||
group: ''
|
||||
name: wildcard-tls-alexlebens-net
|
||||
namespace: cilium-secrets
|
Reference in New Issue
Block a user