apiVersion: v1
kind: Endpoints
metadata:
name: unifi-network
subsets:
- addresses:
- ip: 192.168.1.5
ports:
- port: 8443
---
apiVersion: v1
kind: Service
metadata:
name: unifi-network
spec:
ports:
- port: 8443
protocol: TCP
targetPort: 8443
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
cert-manager.io/issuer: stephan-at-monkeysoft-nl
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
name: unifi-network
spec:
ingressClassName: nginx
rules:
- host: unifi.eizinga.info
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: unifi-network
port:
number: 8443
tls:
- hosts:
- unifi.eizinga.info
secretName: unifi-eizinga-info