add longhorn
This commit is contained in:
9
deploy/longhorn/kustomization.yaml
Normal file
9
deploy/longhorn/kustomization.yaml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
namespace: longhorn-system
|
||||||
|
resources:
|
||||||
|
- longhorn-ingress.yaml
|
||||||
|
helmCharts:
|
||||||
|
- name: longhorn
|
||||||
|
repo: https://charts.longhorn.io/
|
||||||
|
valuesFile: values.yaml
|
||||||
|
version: v1.8.1
|
||||||
|
releaseName: longhorn
|
||||||
27
deploy/longhorn/longhorn-ingress.yaml
Normal file
27
deploy/longhorn/longhorn-ingress.yaml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: longhorn-ingress
|
||||||
|
namespace: longhorn-system
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||||
|
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||||
|
spec:
|
||||||
|
ingressClassName: nginx
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- longhorn.dp2.panic.haus
|
||||||
|
secretName: longhorn-tls
|
||||||
|
|
||||||
|
rules:
|
||||||
|
- host: longhorn.dp2.panic.haus
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: longhorn-frontend
|
||||||
|
port:
|
||||||
|
number: 80
|
||||||
|
|
||||||
Reference in New Issue
Block a user