Skip to content

Commit

Permalink
refactor: use ReadWriteOnce as default since most of the time kind an…
Browse files Browse the repository at this point in the history
…d k3s will be used alot

Signed-off-by: Neko Ayaka <[email protected]>
  • Loading branch information
nekomeowww committed Apr 20, 2024
1 parent 466e51c commit fc8d464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/model/image_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func EnsureImageStorePVCCreated(

log.Info("no existing image storage PVC found, creating one...")

accessMode := corev1.ReadWriteMany
accessMode := corev1.ReadWriteOnce
if pvSpec != nil && pvSpec.AccessMode != nil {
accessMode = *pvSpec.AccessMode
}
Expand Down

0 comments on commit fc8d464

Please sign in to comment.