WIP Update stash volume claims

This commit is contained in:
2025-09-21 17:42:28 -04:00
parent 3060d7fbb5
commit aa7f440394
7 changed files with 21 additions and 67 deletions

View File

@@ -45,7 +45,7 @@ apps:
enabled: true enabled: true
stash: stash:
enabled: false enabled: true
state: present state: present
namespace: stashapp namespace: stashapp

View File

@@ -1,13 +0,0 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: stash-pv-media-claim
namespace: stashapp
spec:
storageClassName: manual
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100Gi

View File

@@ -1,17 +0,0 @@
---
# persistent volume
apiVersion: v1
kind: PersistentVolume
metadata:
name: plex-pv-media-local
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 100Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/dev/mapper/plex-data"

View File

@@ -1,17 +0,0 @@
---
# persistent volume
apiVersion: v1
kind: PersistentVolume
metadata:
name: plex-pv-local
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 100Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/opt/data/plex"

View File

@@ -1,17 +0,0 @@
---
# persistent volume
apiVersion: v1
kind: PersistentVolume
metadata:
name: plex-pv-local-02
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 300Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/opt/data/secure/"

View File

@@ -10,6 +10,9 @@ image:
ingress: ingress:
main: main:
enabled: true enabled: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
hosts: hosts:
- host: stash.xai-corp.net - host: stash.xai-corp.net
paths: paths:
@@ -19,3 +22,19 @@ ingress:
hosts: hosts:
- stash.xai-corp.net - stash.xai-corp.net
# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence:
config:
enabled: true
mountPath: /root/.stash
accessMode: ReadWriteOnce
# existingClaim: stash-pv-claim
# subPath:
media:
enabled: true
mountPath: /media
accessMode: ReadWriteOnce
# existingClaim: stash-pv-claim
# subPath:

View File

@@ -20,8 +20,6 @@
loop: loop:
- stash/pv03.yaml - stash/pv03.yaml
- stash/pv-claim.yaml - stash/pv-claim.yaml
# - stash/pv-media.yaml
# - stash/pv-media-claim.yaml
become: true become: true
- name: Add stash chart helm repo - name: Add stash chart helm repo
@@ -44,6 +42,7 @@
create_namespace: yes create_namespace: yes
update_repo_cache: True update_repo_cache: True
chart_ref: k8s-at-home/stash chart_ref: k8s-at-home/stash
chart_version: 3.4.2
values: "{{stash_values}}" values: "{{stash_values}}"
wait: true wait: true