Skip to content

Commit

Permalink
add data pvc
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxpeople committed Jul 15, 2023
1 parent 7b73500 commit 35d2a4b
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions kubernetes/apps/default/sharry/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,22 @@ spec:
address = "0.0.0.0"
port = {{ .Values.service.main.ports.http.port }}
}
# How files are stored.
files {
# The id of an enabled store from the `stores` array that should
# be used.
default-store = "database"
stores = {
filesystem =
{ enabled = true
type = "file-system"
directory = "/data"
# If true, empty directories that can be left behind after deleting
# a file are removed as well.
clean-empty-dirs = true
}
}
}
backend {
signup {
mode = "closed"
Expand Down Expand Up @@ -107,6 +123,13 @@ spec:
- key: sharry.conf
path: sharry.conf
mountPath: /opt/sharry.conf
data:
enabled: true
type: pvc
accessMode: ReadWriteOnce
size: 10Gi
mountPath: /data
storageClass: local-path
ingress:
main:
enabled: true
Expand Down

0 comments on commit 35d2a4b

Please sign in to comment.