Add missing longhorn route

main
trivernis 1 year ago
parent 10e857d4b8
commit 305243f7fc
Signed by: Trivernis
GPG Key ID: 7E6D18B61C8D2F4B

@ -2,6 +2,15 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
namespace: kube-system namespace: kube-system
metadata:
name: longhorn
resources:
- longhorn/longhorn-sealedsecret.yaml
- longhorn/route.yaml
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kube-system
metadata: metadata:
name: flux-webhook name: flux-webhook
resources: resources:

@ -0,0 +1,15 @@
apiVersion: bitnami.com/v1alpha1
kind: SealedSecret
metadata:
creationTimestamp: null
name: longhorn-secret
namespace: longhorn-system
spec:
encryptedData:
users: AgAO6N9pDyXrnWR7Ukpnh6EXE9DSu3Z1SH6nJMkbNOLNp8a2LBog7A/3LxETDfEhjQBbO+MsqzU38c2FxmcorVQN8oo3yXRFx921UVH7JcwbZdmgMtTPaucGUN0FhhpIXj+6hzT3JJcCiy8SAalG9cFWVQKjXesR4cpJ6JleVKGm7iownstCuCfHFSTCp6ef3YKAkXP8cVPDkcxXXWXyMfIkK13Rhol7U/exzSRktBseuxIKOIpkuzjEqb9/TCkHuE+jlWN+ObBvolk74p6wMDHcK9vG7gwJRYU0CzsgdWZsxTx/T7VaO1We+qF+6dJxyFrvt3aUpR7h3lF4kTEFZ6DTiGyjpNvQQH2A3Ci6pJw0vkmWMq35nhipQIN1FzM7D3YwmwkzZYREYqrn9d6ojC3yOWJ8PncqGYAik067u/BTCAu5rLLvJITs2dAsB8prkHbseBST2AbdC7MEzrEjssrPu7dj/OBRUCfN1qYx31tP5zsXohJhNJ4jKVT2ILgoC64PsRQgiHnMdzerttRNx30j64qFNN57NY5TtaxsFNVENWZ7UGPPouyh1Qs0nkFnrdWoQy8hN1uKvXDmk5TK1wUSlD1iSrR/ihno/B7zbmI7rS9TjH9FH4xSDHelIGY3Q86ln7cl72iQzU9DyHFk36SGmtSIt/ZduEa4ZKnc3WIgW/i1CzUyQnLdqT9M24i72Zq42EKFAH4kMZOUednnj1gLpHq7Dr3TEEDuEtVv0BFVJui1IRD32icFgmw789SisP55
template:
metadata:
creationTimestamp: null
name: longhorn-secret
namespace: longhorn-system

@ -0,0 +1,25 @@
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: longhorn-auth
namespace: longhorn-system
spec:
basicAuth:
secret: longhorn-secret
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: longhorn-route
namespace: longhorn-system
spec:
entryPoints:
- web
routes:
- match: Host(`longhorn.trivernis.net`)
kind: Rule
services:
- name: longhorn-frontend
port: 80
middlewares:
- name: longhorn-auth
Loading…
Cancel
Save