Uploaded image for project: 'Percona Operator for MongoDB'
  1. Percona Operator for MongoDB
  2. K8SPSMDB-817

Allow external nodes to be added even when the replicaset is not exposed

Details

    • Improvement
    • Status: Done
    • Medium
    • Resolution: Fixed
    • None
    • 1.14.0
    • None
    • None
    • Yes
    • Yes
    • Yes

    Description

      Summary 

      The PSMDB CR creation fails when the replicaset is not exposed, but externalNodes are specified.

      Justification

      Exposing replicasets in any particular MDB cluster should not dictate whether
      external nodes can be added or not. The only requirement for the external node
      should be that it is accessible on the network.

      The operator should not fail validation if external nodes are specified, but the
      replica set is not exposed.
       
      Should have the same/similar implementation for

      spec.replsets.[]

      and

      spec.sharding.configsvrReplSet

       Implementation Suggestion

      Throw a warning during the CR validation instead of a hard failure.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vorbidan Vitaliy Orbidan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Smart Checklist