Skip to content

Commit

Permalink
fix: volume settings
Browse files Browse the repository at this point in the history
  • Loading branch information
matmut7 committed Mar 21, 2024
1 parent d533b39 commit d269974
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .kontinuous/templates/files.pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ metadata:
name: files
spec:
accessModes:
- ReadWriteMany
- ReadWriteOnce
resources:
requests:
storage: 2Gi
storageClassName: azurefile
storage: 2Gi
4 changes: 4 additions & 0 deletions .kontinuous/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ files:
- name: files
persistentVolumeClaim:
claimName: files
replicas: 1 # mandatory because volume is RWO
strategyType: Recreate # idem
securityContext:
fsGroup: 101
volumeMounts:
- name: files
mountPath: /usr/share/nginx/html
Expand Down

0 comments on commit d269974

Please sign in to comment.