summaryrefslogtreecommitdiff
path: root/contrib/k8s-emc/matomo-ingress.yml
blob: 0ad283cde4cc53c69f3fd053c07bc3469a70dca4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  namespace: emc
  name: stats-matomo
  labels:
    app: matomo
    tier: stats
#  annotations:
#    nginx.ingress.kubernetes.io/rewrite-target: /
spec:
  ingressClassName: nginx
  tls:
  - secretName: emc-stats-tls
    hosts:
    - emc-stats.elev8.at
  rules:
  - host: emc-stats.elev8.at
    http:
      paths:
#      - path: /matomo
      - path: /
        pathType: Prefix
        backend:
          service:
            name: stats-matomo
            port:
              number: 8080