add ingress
This commit is contained in:
26
helm/dashboard/ingress.yaml
Normal file
26
helm/dashboard/ingress.yaml
Normal 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
|
||||||
Reference in New Issue
Block a user