43 lines
970 B
YAML
43 lines
970 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: oligo-tools-ingress
|
|
namespace: olallalab
|
|
annotations:
|
|
nginx.ingress.kubernetes.io/rewrite-target: /
|
|
spec:
|
|
ingressClassName: public
|
|
rules:
|
|
- host: oligo-tools.alexandre-vazquez.cloud
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: oligo-tools
|
|
port:
|
|
number: 80
|
|
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: oligo-tools-ingress-internal
|
|
namespace: olallalab
|
|
annotations:
|
|
nginx.ingress.kubernetes.io/rewrite-target: /
|
|
external-dns.alpha.kubernetes.io/hostname: oligo-tools.alexandre-vazquez.internal
|
|
spec:
|
|
ingressClassName: public
|
|
rules:
|
|
- host: oligo-tools.alexandre-vazquez.internal
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: oligo-tools
|
|
port:
|
|
number: 80
|