From 686a63ebda10d3343f8733a4a9173fd322ede2c2 Mon Sep 17 00:00:00 2001 From: mskanth972 Date: Fri, 22 Mar 2024 10:20:07 -0400 Subject: [PATCH] Update configuration to use the new file. --- pkg/driver/efs_watch_dog.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/driver/efs_watch_dog.go b/pkg/driver/efs_watch_dog.go index ff28925c5..55f8339ae 100644 --- a/pkg/driver/efs_watch_dog.go +++ b/pkg/driver/efs_watch_dog.go @@ -226,6 +226,11 @@ func copyWithoutOverwriting(srcDir, dstDir string) error { if err := copyFile(src, dst); err != nil { return err } + } else if filepath.Base(src) == "efs-utils.crt" { + klog.Infof("Copying %s ", dst) + if err := copyFile(src, dst); err != nil { + return err + } } else { klog.Infof("Skip copying %s since it exists already", dst) }