Closed irumaru closed 2 days ago
Added ReadOnly to the volumeMount option in Pods to support mounting of ReadOnlyMany(ROX) PVC. https://github.com/grafana/k6-operator/issues/279
The default is ReadOnly: false. The reason was to avoid destructive changes, considering the possibility that some users may already be writing to the volume in the init container.
Here are the results of a simple test. files.zip
Test Contents
result describe-log.txt and get-log.txt are the execution results. You can confirm that ReadOnly for k6-test-volume is true.
@yorugac , Thanks for the review.
We have made the following two corrections.
config/samples/k6_v1alpha1_k6_with_readOnlyVolumeClaim.yaml
pkg/types/script.go
Please review.
For info, failing CI for Helm on PRs is a known current issue: #419
Added ReadOnly to the volumeMount option in Pods to support mounting of ReadOnlyMany(ROX) PVC. https://github.com/grafana/k6-operator/issues/279
The default is ReadOnly: false. The reason was to avoid destructive changes, considering the possibility that some users may already be writing to the volume in the init container.
Here are the results of a simple test. files.zip
Test Contents
result describe-log.txt and get-log.txt are the execution results. You can confirm that ReadOnly for k6-test-volume is true.