25 lines
582 B
YAML
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
|