apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: ingress-weather-api
spec:
  tls:
    - hosts:
        - weather-api.awes.one
      secretName: certs
  ingressClassName: nginx
  rules:
    - host: weather-api.awes.one
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: weather-api
                port:
                  number: 80
