Skip to content

Commit 074b2af

Browse files
committed
e2e: add NodePublish secret
Add NodePublish secret to the SC created in the e2e testing. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
1 parent ef42fdf commit 074b2af

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

e2e/rbd_helper.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ func createRBDStorageClass(
154154
sc.Parameters["csi.storage.k8s.io/node-stage-secret-namespace"] = cephCSINamespace
155155
sc.Parameters["csi.storage.k8s.io/node-stage-secret-name"] = rbdNodePluginSecretName
156156

157+
sc.Parameters["csi.storage.k8s.io/node-publish-secret-name"] = cephCSINamespace
158+
sc.Parameters["csi.storage.k8s.io/node-publish-secret-namespace"] = rbdNodePluginSecretName
159+
157160
fsID, err := getClusterID(f)
158161
if err != nil {
159162
return fmt.Errorf("failed to get clusterID: %w", err)

0 commit comments

Comments
 (0)