Add NetBox ingress
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: netbox
|
||||
namespace: netbox
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: home-lab-ca
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
|
||||
tls:
|
||||
- hosts:
|
||||
- netbox.home.lan
|
||||
secretName: netbox-home-lan-tls
|
||||
|
||||
rules:
|
||||
- host: netbox.home.lan
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: netbox
|
||||
port:
|
||||
number: 80
|
||||
Reference in New Issue
Block a user