Uploaded image for project: 'Red Hat Advanced Cluster Security'
  1. Red Hat Advanced Cluster Security
  2. ROX-30606

Cannot override nodeInventory container in {{roxctl sensor generate}}

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • CLI(roxctl)
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False

      USER PROBLEM
      What is the user experiencing as a result of the bug? Include steps to reproduce.

      • Collector pod has three containers: collector (collector image), compliance (main image), nodeInventory (scanner-slim image).
      • I can override the first two with -collector-image-repository , -main-image-repository , but not the third one.

       

      Part of the problem is that it needs to work on 4.6 - 4.8, not just master so whatever changes (adding ability to override node inventory's image) have to be backported.

       

      CONDITIONS
      What conditions need to exist for a user to be affected? Is it everyone? Is it only those with a specific integration? Is it specific to someone with particular database content? etc.

      This is how I generate the manifests

      roxctl sensor generate openshift --openshift-version 4 --name sensor1 --password="$(cat password)" --enable-pod-security-policies=false --insecure-skip-tls-verify=true --endpoint="https://${ENDPOINT}/" \ --collector-image-repository=quay.io/rhacs-eng/release-collector \ --main-image-repository=quay.io/rhacs-eng/release-main
      

      I use a Konflux build of roxctl (4.9.x-nightly-20250717-fast).
      The node inventory container points to quay.io/rhacs-eng/rhacs-scanner-slim-rhel8:4.9.x-nightly-20250717-fast , but I want to set it it to quay.io/rhacs-eng/release-scanner-slim:4.9.x-nightly-20250717-fast

      This doesn't happen on *KS platforms, because nodeInventory container is not created in the collector pod.

      ROOT CAUSE
      What is the root cause of the bug?

      • pending

      FIX
      How was the bug fixed (this is more important if a workaround was implemented rather than an actual fix)?

      • pending

              Unassigned Unassigned
              mipetrov@redhat.com Michaël Petrov
              ACS Sensor & Ecosystem
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: