WIP Update stash volume claims
This commit is contained in:
@@ -45,7 +45,7 @@ apps:
|
||||
enabled: true
|
||||
|
||||
stash:
|
||||
enabled: false
|
||||
enabled: true
|
||||
state: present
|
||||
namespace: stashapp
|
||||
|
||||
|
||||
@@ -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
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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/"
|
||||
|
||||
@@ -10,6 +10,9 @@ image:
|
||||
ingress:
|
||||
main:
|
||||
enabled: true
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||
|
||||
hosts:
|
||||
- host: stash.xai-corp.net
|
||||
paths:
|
||||
@@ -19,3 +22,19 @@ ingress:
|
||||
hosts:
|
||||
- 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:
|
||||
|
||||
@@ -20,8 +20,6 @@
|
||||
loop:
|
||||
- stash/pv03.yaml
|
||||
- stash/pv-claim.yaml
|
||||
# - stash/pv-media.yaml
|
||||
# - stash/pv-media-claim.yaml
|
||||
become: true
|
||||
|
||||
- name: Add stash chart helm repo
|
||||
@@ -44,6 +42,7 @@
|
||||
create_namespace: yes
|
||||
update_repo_cache: True
|
||||
chart_ref: k8s-at-home/stash
|
||||
chart_version: 3.4.2
|
||||
values: "{{stash_values}}"
|
||||
wait: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user