diff --git a/manifests/yay-or-nay/yay-or-nay.yaml b/manifests/yay-or-nay/yay-or-nay.yaml index 383e240..6fc555c 100644 --- a/manifests/yay-or-nay/yay-or-nay.yaml +++ b/manifests/yay-or-nay/yay-or-nay.yaml @@ -59,17 +59,25 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: yay-or-nay + namespace: yay-or-nay labels: app.kubernetes.io/name: yay-or-nay + annotations: + cert-manager.io/cluster-issuer: letsencrypt + nginx.ingress.kubernetes.io/force-ssl-redirect: "true" spec: + tls: + - hosts: + - "yay-or-nay.cluster.fun" + secretName: "yay-or-nay-ingress" rules: - - host: yay-or-nay.cluster.fun - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - service: - name: yay-or-nay - port: - name: web + - host: "yay-or-nay.cluster.fun" + http: + paths: + - path: "/" + pathType: ImplementationSpecific + backend: + service: + name: yay-or-nay + port: + name: web