Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create or update StorageClusterPeer #221

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Sep 9, 2024

  1. feat: Enhance MirrorPeer and DRPolicy controllers for StorageClientTy…

    …pe handling
    
    - Updated `MirrorPeerReconciler` to handle `StorageClientType` by adding conditions in `Reconcile` method.
    - Introduced `createStorageClusterPeer` function for creating `StorageClusterPeer` objects.
    - Added utility functions `fetchClientInfoConfigMap` and `getClientInfoFromConfigMap` for handling client info.
    - Modified `processManagedClusterAddon` to utilize new config structure.
    - Enhanced `DRPolicyReconciler` to skip certain operations based on `StorageClientType`.
    
    Signed-off-by: vbadrina <[email protected]>
    vbnrh committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    52f1a92 View commit details
    Browse the repository at this point in the history
  2. Create objectbucketclaim for each client

    Signed-off-by: vbadrina <[email protected]>
    vbnrh committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    24a3637 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. Adds checks for StorageClient ref

    - New utility functions for checking if MirrorPeer is having StorageClient ref
    - Functions cross check with the configmap to see if client
    - Functions will take a parameter for managedCluster and hub cluster separately to
      pick the configmap properly
    
    Signed-off-by: vbadrina <[email protected]>
    vbnrh committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    ebdb0b3 View commit details
    Browse the repository at this point in the history