k8s/manifests/03-ingress/minikube-dashboard-ingress.yaml
Simple_Not 36795411a9
All checks were successful
continuous-integration/drone/push Build is passing
ingress?
2023-06-22 13:02:55 +10:00

22 lines
550 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: minikube-dashboard-ingress
namespace: kubernetes-dashboard
annotations:
#nginx.ingress.kubernetes.io/rewrite-target: /$1
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/enable-cors: "false"
spec:
rules:
- host: minikube.vdk2ch.ru
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: kubernetes-dashboard
port:
number: 80