mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-12 12:39:47 +08:00
26 lines
596 B
YAML
26 lines
596 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: nm-ui-ingress-nginx
|
|
annotations:
|
|
nginx.ingress.kubernetes.io/rewrite-target: /
|
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
|
nginx.ingress.kubernetes.io/ssl-redirect: 'true'
|
|
spec:
|
|
ingressClassName: public
|
|
tls:
|
|
- hosts:
|
|
- dashboard.NETMAKER_BASE_DOMAIN
|
|
secretName: nm-ui-tls
|
|
rules:
|
|
- host: dashboard.NETMAKER_BASE_DOMAIN
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: netmaker-ui
|
|
port:
|
|
number: 80
|
|
|