apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: ingress-resource
  annotations:
    kubernetes.io/ingress.class: "nginx"
    nginx.ingress.kubernetes.io/ssl-redirect: "false"
    kubernetes.io/ingress.global-static-ip-name: "my-blog-static-ip"
spec:
  rules:
  - host: "cflynn.us"
    http:
      paths:
      - pathType: Prefix
        path: "/"
        backend:
          service:
            name: blog-master-app
            port:
              number: 80
  - host: "cflynn-blog.com"
    http:
      paths:
      - pathType: Prefix
        path: "/"
        backend:
          service:
            name: blog-develop-app
            port:
              number: 80
