Skip to content

Commit 3f575b9

Browse files
committed
FAQ: enable dashboard access via nginx-ingress
fixes cozystack/cozystack#37 Signed-off-by: Andrei Kvapil <[email protected]>
1 parent 1bf92ea commit 3f575b9

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

‎content/en/docs/faq.md‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,39 @@ Troubleshooting advice can be found on our [Troubleshooting Cheatsheet](/docs/tr
1111

1212
## General questions
1313

14+
#### How to enable access to dashboard via ingres-controller
15+
16+
Just create an ingress resource to publish dashboard via `tenant-root-ingress-controller`:
17+
18+
```yaml
19+
apiVersion: networking.k8s.io/v1
20+
kind: Ingress
21+
metadata:
22+
annotations:
23+
cert-manager.io/cluster-issuer: letsencrypt-prod
24+
kubernetes.io/ingress.class: tenant-root
25+
acme.cert-manager.io/http01-ingress-class: tenant-root
26+
name: dashboard-ingress
27+
namespace: cozy-dashboard
28+
spec:
29+
ingressClassName: tenant-root
30+
rules:
31+
- host: demo.cozystack.io
32+
http:
33+
paths:
34+
- backend:
35+
service:
36+
name: dashboard
37+
port:
38+
number: 80
39+
path: /
40+
pathType: Prefix
41+
tls:
42+
- hosts:
43+
- demo.cozystack.io
44+
secretName: dashboard-ingress-tls
45+
```
46+
1447
### Bundles
1548
1649
#### How to overwrite parameters for specific components

0 commit comments

Comments
 (0)