Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use NormalizeLeaseName to store the key
namespace + "/" + leader identity(pod name) is the key for the connection. this key is used by GetLeaderByDriver to get the connection. csi-lib-utils/leaderelection:sanitizeName() is used to sanitize the leader identity used for the leases csiaddonsnode need to store the key with same format so that it can be used to get the connection. Signed-off-by: Madhu Rajanna <[email protected]>
- Loading branch information