csi: add nodepublishsecret to clientprofile
Add the node publish secret to the client profile that is required for the PVC's created from SC without any node publish secret. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
1 parent
6c2a3a5f2b
commit
328efbadc4
3 files changed
+7
-3
No files matched your search
@@ -21,7 +21,7 @@ require (
|
||||
github.com/aws/aws-sdk-go-v2/service/sns v1.40.1
|
||||
github.com/aws/smithy-go v1.27.3
|
||||
github.com/banzaicloud/k8s-objectmatcher v1.8.0
|
||||
github.com/ceph/ceph-csi-operator/api v0.0.0-20260707120029-818aaba9ed78
|
||||
github.com/ceph/ceph-csi-operator/api v0.0.0-20260701062509-bc21847a37a7
|
||||
github.com/ceph/ceph-csi/api v0.0.0-20241216133622-88b7e0d6684f
|
||||
github.com/ceph/go-ceph v0.40.0
|
||||
github.com/coreos/pkg v0.0.0-20240122114842-bbd7aa9bf6fb
|
||||
|
||||
@@ -547,8 +547,8 @@ github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyY
|
||||
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
|
||||
github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
|
||||
github.com/census-instrumentation/opencensus-proto v0.4.1/go.mod h1:4T9NM4+4Vw91VeyqjLS6ao50K5bOcLKN6Q42XnYaRYw=
|
||||
github.com/ceph/ceph-csi-operator/api v0.0.0-20260707120029-818aaba9ed78 h1:FEPBZZy+UzmzsKGZoVagak0lbHe/ucyreNMsGbP6dCM=
|
||||
github.com/ceph/ceph-csi-operator/api v0.0.0-20260707120029-818aaba9ed78/go.mod h1:hVNR0YmP/mODVmwLV/SCCIMGz7cktxFGJpOwCxJYPf8=
|
||||
github.com/ceph/ceph-csi-operator/api v0.0.0-20260701062509-bc21847a37a7 h1:r8I2g9LsMbQdMfYF2P82Q9kc6dfHRskhap9EDhj6w40=
|
||||
github.com/ceph/ceph-csi-operator/api v0.0.0-20260701062509-bc21847a37a7/go.mod h1:3pWy8iShViIoURKlFWLOHIP75icMhWZcTOXN1QE7vZU=
|
||||
github.com/ceph/ceph-csi/api v0.0.0-20241216133622-88b7e0d6684f h1:ja5xvJlv3Sq5dlQVQMeM/dlCwcUXgZXg/kTPmMMQhJ8=
|
||||
github.com/ceph/ceph-csi/api v0.0.0-20241216133622-88b7e0d6684f/go.mod h1:NfzKbdhaXhWh1PJCExML9dAXHCqEDppf26ueLWYdxlk=
|
||||
github.com/ceph/go-ceph v0.40.0 h1:Wz9WOX6i73Hz74mpwhTO9S6IyX3eFPv88VUc7FRMPRk=
|
||||
|
||||
@@ -143,6 +143,10 @@ func CreateDefaultClientProfile(c client.Client, clusterInfo *cephclient.Cluster
|
||||
Name: CsiRBDProvisionerSecret,
|
||||
Namespace: clusterInfo.Namespace,
|
||||
},
|
||||
NodePublishSecret: v1.SecretReference{
|
||||
Name: CsiRBDNodeSecret,
|
||||
Namespace: clusterInfo.Namespace,
|
||||
},
|
||||
}
|
||||
|
||||
return createUpdateClientProfile(c, clusterInfo, csiOpClientProfile)
|
||||
|
||||
Reference in new issue
Block a user