configred folders

This commit is contained in:
2026-01-28 18:05:11 +01:00
parent 0591f22a62
commit c0a7c06705
+14 -10
View File
@@ -18,8 +18,9 @@ metadata:
# Access: https://kisfenyo-files.dooplex.hu (Authentik login) # Access: https://kisfenyo-files.dooplex.hu (Authentik login)
# https://kisfenyo-files.home (internal) # https://kisfenyo-files.home (internal)
# #
# Data: /home/kisfenyo (hostPath - home directory) # Data Sources:
# Symlinks to /mnt/4_hdd/kisfenyo also accessible # - Home: /home/kisfenyo
# - 4_HDD: /mnt/4_hdd/kisfenyo
# #
# Authentik Setup: # Authentik Setup:
# 1. Create a Proxy Provider in Authentik: # 1. Create a Proxy Provider in Authentik:
@@ -55,10 +56,14 @@ data:
server: server:
port: 80 port: 80
sources: sources:
- path: /srv - path: /srv/home
name: "Home" name: "Home"
config: config:
defaultEnabled: true defaultEnabled: true
- path: /srv/4_hdd
name: "4_HDD"
config:
defaultEnabled: true
auth: auth:
adminUsername: kisfenyo adminUsername: kisfenyo
methods: methods:
@@ -131,13 +136,12 @@ spec:
name: http name: http
protocol: TCP protocol: TCP
volumeMounts: volumeMounts:
# User's home directory - main data source # User's home directory
- name: home-data - name: home-data
mountPath: /srv mountPath: /srv/home
# Mount symlink target so symlinks work # 4_HDD data
# /home/kisfenyo/4_hdd -> /mnt/4_hdd/kisfenyo
- name: hdd-data - name: hdd-data
mountPath: /mnt/4_hdd/kisfenyo mountPath: /srv/4_hdd
# Config from ConfigMap # Config from ConfigMap
- name: config - name: config
mountPath: /config mountPath: /config
@@ -169,12 +173,12 @@ spec:
timeoutSeconds: 5 timeoutSeconds: 5
failureThreshold: 3 failureThreshold: 3
volumes: volumes:
# Kisfenyo's home directory - hostPath to existing data # Kisfenyo's home directory
- name: home-data - name: home-data
hostPath: hostPath:
path: /home/kisfenyo path: /home/kisfenyo
type: Directory type: Directory
# Symlink target directory - needed for symlinks to work # Kisfenyo's 4_HDD data
- name: hdd-data - name: hdd-data
hostPath: hostPath:
path: /mnt/4_hdd/kisfenyo path: /mnt/4_hdd/kisfenyo