Commit Graph

20 Commits

Author SHA1 Message Date
Rob Kooper b48ecac166 Add missing pvname
This adds the ability to use the pvname as part of the pathpattern. The defaultpath is now a string that is parsed the same way as the user specified pathpattern.
2023-03-14 08:32:02 -05:00
Francisco Orselli 386af3ff87
Fix onDelete option for subdirectories 2022-07-06 09:45:58 +02:00
Yonatan Kahana 9015173f00 build: import GetPersistentVolumeClass from component-helpers
Signed-off-by: Yonatan Kahana <yonatankahana.il@gmail.com>
2022-04-02 01:07:15 +03:00
Humble Chirammal 7c23a7dd7a Remove unnecessary conversion of resource storage
This commit also does more corrections like error handling,
formatting, typos..etc

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-03-04 14:31:34 +05:30
Humble Chirammal e53fbc3d59 Handle error in a some conditions and also correct error message
This commit also does:
`Replace` string method changed to `ReplaceALL`

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-02-10 12:26:03 +05:30
zhoumiao b8e203661b prevent mounting of root directory
If storageClass enable pathPattern like:

`pathPattern: "${.PVC.annotations.nfs.io/storage-path}"`

but pvc without annotation would make empty `customPath` and create a pv with nfs root path.
2021-03-31 21:23:20 +08:00
Peter Micuch 9b9ac9aa8d Preserve name of the PV directory name during archiving 2021-02-25 10:10:50 +01:00
Kubernetes Prow Robot 4fce9ffaac
Merge pull request #26 from petermicuch/bump_to_k8s_1_18_0
Switched to k8s 1.18.0 as attempt to fix issue #25
2021-01-06 13:33:52 -08:00
Yonatan Kahana b4789a61c6 Enable mountOptions from StorageClass to PersistentVolume
Signed-off-by: Yonatan Kahana <yonatankahana.il@gmail.com>
2020-12-12 15:33:36 +02:00
Peter Micuch 4295196b5e Code formating updates 2020-12-11 12:19:41 +01:00
Peter Micuch a706bed5ca Switched to k8s 1.18.0 2020-12-10 23:40:32 +01:00
Robert Munteanu 4cef281f64 Add a flag to disable leader election
Related to #20.
2020-11-26 23:48:25 +01:00
Hanna Bledai 9c630ed0e1
Merge branch 'master' into Update-path-creation-and-save-data-after-removing-PV 2020-10-20 10:18:50 +03:00
moonek 9716b0bf21 Support for running controller outside of cluster 2020-10-13 11:29:03 +09:00
Hanna Bledai 513433d4b1 Update README, remove dublicated lines 2020-10-08 15:40:37 +03:00
Hanna Bledai 30d9813bdf Updated README and saved archiveOnDelete 2020-10-02 10:41:11 +03:00
Hanna Bledai a5f4a8b72b fixed : 37,102 lines 2020-09-21 16:01:14 +03:00
Hanna Bledai fe9be3d5d8 fixed : 37,102 lines 2020-09-21 15:56:30 +03:00
Hanna Bledai 9d6c66ea94 #6: Update path creation and implemented possibility save data after removing PV 2020-09-17 13:11:28 +03:00
kmova 96592d24ac update readme and go imports to new location
This commit fixes the following:
- fixes the go imports to use the new loction
- setup go modules for this project
- update the docker files to use the new binary name
- update the README to use the new repo name

Signed-off-by: kmova <kiran.mova@mayadata.io>
(cherry picked from commit 234543e14d)
2020-09-07 05:49:09 +00:00