Skip to content

Commit

Permalink
Merge pull request #197 from ClubCedille/fix/use-local-pv
Browse files Browse the repository at this point in the history
use local PVs
  • Loading branch information
Simon-Boyer authored Sep 18, 2024
2 parents a597fd5 + d5cad80 commit 0b3abd3
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/trema/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ kind: PersistentVolumeClaim
metadata:
name: trema-mongo-pvc
spec:
storageClassName: local-hostpath
accessModes:
- "ReadWriteOnce"
resources:
Expand Down
17 changes: 16 additions & 1 deletion system/mayastor/storageclass.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,19 @@ parameters:
protocol: nvmf
repl: "2"
stsAffinityGroup: 'true'
provisioner: io.openebs.csi-mayastor
provisioner: io.openebs.csi-mayastor
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: local-hostpath
annotations:
openebs.io/cas-type: local
cas.openebs.io/config: |
- name: StorageType
value: hostpath
- name: BasePath
value: /var/local-hostpath
provisioner: openebs.io/local
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
5 changes: 5 additions & 0 deletions terraform/vault/override-values.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ server:
# See https://www.vaultproject.io/docs/audit/index.html to know more
auditStorage:
enabled: true
storageClass: local-hostpath

dataStorage:
enabled: true
storageClass: local-hostpath

standalone:
enabled: false
Expand Down

0 comments on commit 0b3abd3

Please sign in to comment.