mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
e2e: Make getConfigFile() generic
Update the getConfigFile() function to allow any file to be looked at on the preferred location first and fall back to the alternate location if it does not exist there. Signed-off-by: karthik-us <ksubrahm@redhat.com>
This commit is contained in:
@ -130,7 +130,7 @@ func deleteRBDPlugin() {
|
||||
}
|
||||
|
||||
func createORDeleteRbdResources(action kubectlAction) {
|
||||
cephConfigFile := getConfigFile(deployPath + cephConfconfigMap)
|
||||
cephConfigFile := getConfigFile(cephConfconfigMap, deployPath, examplePath)
|
||||
resources := []ResourceDeployer{
|
||||
// shared resources
|
||||
&yamlResource{
|
||||
|
Reference in New Issue
Block a user