Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-63705

[must-gather-operator] Job pod is not created in the MustGather CR namespace

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.21
    • must-gather
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 2
    • None
    • None
    • None
    • Rejected
    • OAPE Sprint 279
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          The must-gather-operator creates Job pods in the operator namespace instead of the MustGather Custom Resource namespace.
        When a MustGather CR is created in a custom namespace, the corresponding Job pod should be created in the same namespace,
        but it's currently being created in the must-gather-operator namespace.

      Version-Release number of selected component (if applicable):

          4.21, 4.20

      How reproducible:

          Always

      Steps to Reproduce:

      # Create a custom namespace: {{kubectl create namespace test-mustgather}}
        # Create a MustGather CR in the custom namespace: {{kubectl apply -n test-mustgather -f mustgather-cr.yaml}}
        # Observe where the Job pod is created: {{kubectl get jobs --all-namespaces}}

      Actual results:

          The Job pod is created in the must-gather-operator namespace instead of the test-mustgather namespace where the MustGather
        CR was created.

      Expected results:

          The Job pod should be created in the same namespace as the MustGather CR (test-mustgather namespace in this example).

      Additional info:

          This affects namespace isolation and may cause issues with RBAC and resource management.

              swghosh@redhat.com Swarup Ghosh
              swghosh@redhat.com Swarup Ghosh
              None
              None
              Keenon Lee Keenon Lee
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: