change the stash persistent volume location, and force https (hsts

This commit is contained in:
2023-04-06 22:47:53 -04:00
parent 14a0de3d33
commit 1377fa34d1
4 changed files with 22 additions and 2 deletions

View File

@@ -28,3 +28,6 @@ ingress:
# Warning! The configuration is dependant on your current k8s API version capabilities (networking.k8s.io/v1)
tls: # < placing a host in the TLS config will determine what ends up in the cert's subjectAltNames
- secretName: xai-corp-production-tls
annotations:
ingress.kubernetes.io/force-hsts: "true"
ingress.kubernetes.io/hsts-max-age: "315360000"

View File

@@ -10,4 +10,4 @@ spec:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
storage: 300Gi

View File

@@ -0,0 +1,17 @@
---
# 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

@@ -18,7 +18,7 @@
state: present
definition: "{{ lookup('file', item) | from_yaml }}"
loop:
- stash/pv.yaml
- stash/pv02.yaml
- stash/pv-claim.yaml
# - stash/pv-media.yaml
# - stash/pv-media-claim.yaml