Initial commit: k3s GitOps manifests with ArgoCD App-of-Apps
This commit is contained in:
26
manifests/longhorn/longhorn-ingress.yaml
Normal file
26
manifests/longhorn/longhorn-ingress.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: longhorn-ingress
|
||||
namespace: longhorn-system
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||
traefik.ingress.kubernetes.io/router.tls: "true"
|
||||
spec:
|
||||
ingressClassName: traefik # We use Traefik as the ingress controller
|
||||
tls:
|
||||
- hosts:
|
||||
- longhorn.mrt0rtikize.ru
|
||||
secretName: longhorn-tls
|
||||
rules:
|
||||
- host: longhorn.mrt0rtikize.ru
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: longhorn-frontend # Service managing Longhorn dashboard
|
||||
port:
|
||||
number: 80 # Service port where Longhorn UI runs
|
||||
Reference in New Issue
Block a user