add ingress

This commit is contained in:
2025-09-30 11:52:19 +02:00
parent 5ae92fb189
commit 8fc1bee7bc

View File

@@ -0,0 +1,26 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: kubernetes-dashboard-ingress
namespace: i-dashboard
annotations:
# Use this annotation if you are using the NGINX Ingress Controller
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
# Add annotations for cert-manager if you use it for TLS
# cert-manager.io/cluster-issuer: "letsencrypt-prod"
spec:
# tls:
# - hosts:
# - dashboard.your-domain.com
# secretName: dashboard-tls-cert
rules:
- host: "dashboard.darkstars.local"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: i-dashboard-kong-proxy
port:
number: 443