-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
controllers: fix issues found in recent testing
1. While setting SELinuxMount on CSIDriver we need to check for existence of value set in Nodeplugin before using it or else CSIDriver will reconile infinitely due to a spurious diff ``` (dlv) p desiredCsiDriver.Spec k8s.io/api/storage/v1.CSIDriverSpec { AttachRequired: *true, PodInfoOnMount: *false, VolumeLifecycleModes: []k8s.io/api/storage/v1.VolumeLifecycleMode len: 1, cap: 1, [ "Persistent", ], StorageCapacity: *false, FSGroupPolicy: *"File", TokenRequests: []k8s.io/api/storage/v1.TokenRequest len: 0, cap: 0, nil, RequiresRepublish: *false, SELinuxMount: *bool nil,} <=====> (dlv) p existingCsiDriver.Spec k8s.io/api/storage/v1.CSIDriverSpec { AttachRequired: *true, PodInfoOnMount: *false, VolumeLifecycleModes: []k8s.io/api/storage/v1.VolumeLifecycleMode len: 1, cap: 1, [ "Persistent", ], StorageCapacity: *false, FSGroupPolicy: *"File", TokenRequests: []k8s.io/api/storage/v1.TokenRequest len: 0, cap: 0, nil, RequiresRepublish: *false, SELinuxMount: *false,} <=====> ``` 2. We need to mount csi configmap in Nodeplugin as well 3. Topology feature gate should be `false` by default 4. Fix typo in CSI plugin roles Signed-off-by: Leela Venkaiah G <[email protected]>
- Loading branch information
Showing
5 changed files
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters