Migrated k3s manifests to use traefik ingres route

This commit is contained in:
=
2026-05-01 11:09:52 +00:00
parent 80715dc15a
commit a428260243
15 changed files with 266 additions and 51 deletions
+18 -6
View File
@@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Namespace
metadata:
@@ -10,7 +11,6 @@ metadata:
namespace: filebrowser
type: Opaque
data:
# Value: Blackstar2@home
admin-password: QmxhY2tzdGFyMkBob21l
---
apiVersion: v1
@@ -61,11 +61,9 @@ spec:
operator: DoesNotExist
containers:
- name: filebrowser
image: filebrowser/filebrowser:v2.30.0 # Using a specific version for stability
image: filebrowser/filebrowser:v2.30.0
ports:
- containerPort: 80
# We remove 'command' and 'args' that rely on /bin/sh
# and use the native environment variables
env:
- name: FB_DATABASE
value: "/config/database.db"
@@ -94,7 +92,7 @@ metadata:
name: filebrowser-service
namespace: filebrowser
spec:
type: NodePort
type: ClusterIP
selector:
app: filebrowser
ports:
@@ -102,4 +100,18 @@ spec:
protocol: TCP
port: 80
targetPort: 80
nodePort: 33003
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: filebrowser-web
namespace: filebrowser
spec:
entryPoints:
- websecure
routes:
- match: Host(`drive.khongisa.co.za`)
kind: Rule
services:
- name: filebrowser-service
port: 80