change the stash persistent volume location, and force https (hsts
This commit is contained in:
@@ -28,3 +28,6 @@ ingress:
|
|||||||
# Warning! The configuration is dependant on your current k8s API version capabilities (networking.k8s.io/v1)
|
# 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
|
tls: # < placing a host in the TLS config will determine what ends up in the cert's subjectAltNames
|
||||||
- secretName: xai-corp-production-tls
|
- secretName: xai-corp-production-tls
|
||||||
|
annotations:
|
||||||
|
ingress.kubernetes.io/force-hsts: "true"
|
||||||
|
ingress.kubernetes.io/hsts-max-age: "315360000"
|
||||||
|
|||||||
@@ -10,4 +10,4 @@ spec:
|
|||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 10Gi
|
storage: 300Gi
|
||||||
|
|||||||
17
ansible-5/roles/prod.k3s/files/stash/pv02.yaml
Normal file
17
ansible-5/roles/prod.k3s/files/stash/pv02.yaml
Normal 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/"
|
||||||
|
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
state: present
|
state: present
|
||||||
definition: "{{ lookup('file', item) | from_yaml }}"
|
definition: "{{ lookup('file', item) | from_yaml }}"
|
||||||
loop:
|
loop:
|
||||||
- stash/pv.yaml
|
- stash/pv02.yaml
|
||||||
- stash/pv-claim.yaml
|
- stash/pv-claim.yaml
|
||||||
# - stash/pv-media.yaml
|
# - stash/pv-media.yaml
|
||||||
# - stash/pv-media-claim.yaml
|
# - stash/pv-media-claim.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user