ingress.yaml 1.22 KB
Newer Older
Dmytro Bogatov's avatar
Dmytro Bogatov committed
1 2 3 4 5 6 7
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: status-dbogatov-org
  namespace: status-site
  annotations:
    kubernetes.io/ingress.class: "public"
8 9 10
    nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
    nginx.ingress.kubernetes.io/ssl-redirect: "true"
    nginx.ingress.kubernetes.io/from-to-www-redirect: "true"
Dmytro Bogatov's avatar
Dmytro Bogatov committed
11 12 13 14
spec:
  tls:
  - hosts:
    - status-dbogatov-org.cluster.dbogatov.org
15
    - status.dbogatov.org
16 17
    - status.dmytro.app
    - status.bogatov.app
Dmytro Bogatov's avatar
Dmytro Bogatov committed
18 19 20 21 22 23 24 25 26
    secretName: lets-encrypt
  rules:
  - host: "status-dbogatov-org.cluster.dbogatov.org"
    http:
      paths:
      - path: /
        backend:
          serviceName: nginx
          servicePort: 80
27 28 29 30 31 32 33
  - host: "status.dbogatov.org"
    http:
      paths:
      - path: /
        backend:
          serviceName: nginx
          servicePort: 80
34 35 36 37 38 39 40 41 42 43 44 45 46 47
  - host: "status.dmytro.app"
    http:
      paths:
      - path: /
        backend:
          serviceName: nginx
          servicePort: 80
  - host: "status.bogatov.app"
    http:
      paths:
      - path: /
        backend:
          serviceName: nginx
          servicePort: 80
48 49 50 51 52 53 54
  - host: "status.bogatov.dev"
    http:
      paths:
      - path: /
        backend:
          serviceName: nginx
          servicePort: 80