• Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • None
    • None
    • Multi-Arch Sprint 250, Multi-Arch Sprint 251, Multi-Arch Sprint 252, Multi-Arch Sprint 253, Multi-Arch Sprint 254, Multi-Arch Sprint 255

      9) Using an opt-out namespaceSelector to exclude namespaces (as in operator: DoesNotExist)
      10) Using an opt-in namespaceSelector to run in included-only mode (as in operator: Exist).

      These cases are about testing the correct creating of the MutatingWebhookConfiguration.
      Therefore they should go into the operator's suite.

      We can test the two behaviors by:
      1. creating the PodPlacementConfig with either the opt-in (e.g. using the In operator for the namespace selector), or opt-out namespaceSelector (e.g., using the DoesNotExist operator for the namespace selector)
      2. Create more ephemeral namespaces according to the need of the case (opt-in/opt-out)
      3. Verify a deployment gets the proper affinity

              lwan-wanglin Lin Wang
              rhn-support-adistefa Alessandro Di Stefano
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: