diff --git a/deploy/longhorn/oauth2-proxy-longhorn-ingress.yaml b/deploy/longhorn/oauth2-proxy-longhorn-ingress.yaml index fe50215..c7b180c 100644 --- a/deploy/longhorn/oauth2-proxy-longhorn-ingress.yaml +++ b/deploy/longhorn/oauth2-proxy-longhorn-ingress.yaml @@ -1,17 +1,25 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: - name: oauth2-proxy-longhorn-ingress + name: longhorn-ingress namespace: longhorn-system + annotations: + cert-manager.io/cluster-issuer: "letsencrypt-prod" + nginx.ingress.kubernetes.io/force-ssl-redirect: "true" spec: + ingressClassName: nginx + tls: + - hosts: + - longhorn.prod.panic.haus + secretName: longhorn-tls rules: - - host: longhorn.prod.panic.haus - http: - paths: - - backend: - service: - name: oauth2-proxy-longhorn-service - port: - number: 4180 - path: /oauth2 - pathType: Prefix \ No newline at end of file + - host: longhorn.prod.panic.haus + http: + paths: + - backend: + service: + name: oauth2-proxy-longhorn-service + port: + number: 4180 + path: /oauth2 + pathType: Prefix \ No newline at end of file