test
This commit is contained in:
24
vault/templates/vault-pv.yaml
Normal file
24
vault/templates/vault-pv.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
annotations:
|
||||
pv.kubernetes.io/provisioned-by: durp.info/nfs
|
||||
finalizers:
|
||||
- kubernetes.io/pv-protection
|
||||
name: vault-pv
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
capacity:
|
||||
storage: 20Gi
|
||||
claimRef:
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
name: vault-pvc
|
||||
namespace: vault-repository-manager
|
||||
nfs:
|
||||
path: /mnt/user/k3s/vault
|
||||
server: 192.168.20.253
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
storageClassName: nfs-storage
|
||||
volumeMode: Filesystem
|
||||
18
vault/templates/vault-pvc.yaml
Normal file
18
vault/templates/vault-pvc.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/component: app
|
||||
app.kubernetes.io/instance: vault
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: vault
|
||||
helm.sh/chart: vault-2.14.4
|
||||
name: vault-pvc
|
||||
namespace: vault
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 10Gi
|
||||
storageClassName: nfs-storage
|
||||
@@ -452,17 +452,7 @@ vault:
|
||||
# See https://www.vaultproject.io/docs/configuration/storage/index.html to know more
|
||||
dataStorage:
|
||||
enabled: true
|
||||
# Size of the PVC created
|
||||
size: 10Gi
|
||||
# Location where the PVC will be mounted.
|
||||
mountPath: "/vault/data"
|
||||
# Name of the storage class to use. If null it will use the
|
||||
# configured default Storage Class.
|
||||
storageClass: null
|
||||
# Access Mode of the storage device being used for the PVC
|
||||
accessMode: ReadWriteOnce
|
||||
# Annotations to apply to the PVC
|
||||
annotations: {}
|
||||
existingClaim: nexus-pvc
|
||||
|
||||
# This configures the Vault Statefulset to create a PVC for audit
|
||||
# logs. Once Vault is deployed, initialized, and unsealed, Vault must
|
||||
|
||||
Reference in New Issue
Block a user