Files
infra-prod/deploy/sonatype-nexus/nexus-ingress.yaml
2025-04-05 23:58:37 +02:00

25 lines
582 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: sonatype-nexus
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
spec:
ingressClassName: nginx
tls:
- hosts:
- nexus.prod.panic.haus
secretName: nexus-tls
rules:
- host: nexus.prod.panic.haus
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: sonatype-nexus-service
port:
number: 8081