summaryrefslogtreecommitdiff
path: root/contrib/k8s-emc/matomo-ingress.yml
blob: 23968541563f0788996941774e50b1c69faa2ff2 (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
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  namespace: emc
  name: stats-matomo
  labels:
    app: matomo
    tier: stats
#  annotations:
#    nginx.ingress.kubernetes.io/rewrite-target: /
spec:
  tls:
  - secretName: emc-stats-tls
    hosts:
    - emc-stats.elev8.at
  rules:
  - host: emc-stats.elev8.at
    http:
      paths:
#      - path: /matomo
      - path: /
        backend:
          serviceName: stats-matomo
          servicePort: 8080