kafkamagic-ingress.yml 672 Bytes
Newer Older
Jonas Waeber's avatar
Jonas Waeber committed
1
2
3
4
5
6
7
8
9
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
  namespace: memobase
  name: kafkamagic-ingress
  annotations:
    cert-manager.io/cluster-issuer: letsencrypt-prod
    nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
    nginx.ingress.kubernetes.io/rewrite-target: /
10
    nginx.ingress.kubernetes.io/whitelist-source-range: "131.152.0.0/16"
Jonas Waeber's avatar
Jonas Waeber committed
11
12
13
14
15
16
17
18
19
20
21
22
23
spec:
  tls:
    - hosts:
        - kafka.memobase.k8s.unibas.ch
      secretName: kafka.memobase.k8s.unibas.ch-tls
  rules:
    - host: kafka.memobase.k8s.unibas.ch
      http:
        paths:
          - path: /
            backend:
              serviceName: kafkamagic-service
              servicePort: 8080