use gateway instead of ingress
This commit is contained in:
24
clusters/cl01tl/management/headlamp/templates/gateway.yaml
Normal file
24
clusters/cl01tl/management/headlamp/templates/gateway.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: Gateway
|
||||
metadata:
|
||||
name: headlamp-gateway
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
app.kubernetes.io/name: headlamp-gateway
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||
app.kubernetes.io/component: web
|
||||
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-issuer
|
||||
spec:
|
||||
gatewayClassName: cilium
|
||||
listeners:
|
||||
- name: https
|
||||
protocol: HTTPS
|
||||
port: 443
|
||||
hostname: headlamp.alexlebens.net
|
||||
tls:
|
||||
certificateRefs:
|
||||
- kind: Secret
|
||||
name: headlamp-gateway-cert
|
Reference in New Issue
Block a user