Skip to content

Commit 31041c9

Browse files
authored
Merge pull request #953 from uriel-guzman/bucket-scanner-controller
Bucket scanner controller - PersistentVolume creation trigger
2 parents 5073611 + e7cb6b0 commit 31041c9

File tree

3 files changed

+1028
-89
lines changed

3 files changed

+1028
-89
lines changed

examples/gcsfuse-profiles/pv-pvc.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ spec:
2727
csi:
2828
driver: gcsfuse.csi.storage.gke.io
2929
volumeHandle: test-bucket
30+
volumeAttributes:
31+
# Optional: The timeout for the bucket scan operation before giving up and delivering
32+
# partial results. The default is 2m.
33+
# bucketScanTimeout: 2m
34+
# Optional: The TTL for the the bucket scan operation. New PV / Pod creation events won't
35+
# trigger the scanner until at least this amount of time has passed since the previous
36+
# scan. The default is 168h (7 days).
37+
# bucketScanTTL: 168h
3038
mountOptions:
3139
- only-dir=/my-folder/
3240
---

0 commit comments

Comments
 (0)