-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set values in ocs-operator-config CM for replica-1 in external mode
In external mode the replica-1 feature is not enabled via the storageCluster CR. So detect the feature is enabled by checking if the replica-1 storageClass exists. In external mode the failure domain is not set in the storageCluster CR, so determine the failure domain key by using the parameter of the storageClass. Also add a watch for storageClass in the ocsinitialization controller to detect the storageClass creation. Accordingly set the values in the CM. Signed-off-by: Malay Kumar Parida <[email protected]>
- Loading branch information
1 parent
16f3414
commit bf526b4
Showing
4 changed files
with
67 additions
and
12 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