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

Remove deprecated fields from Central handler for helm-config.yaml.

    • Icon: Task Task
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • Central
    • Rox Sprint 4.9F - Global

      Overview:

      There exists a handler in Central for rendering a helm-config.yaml file for the user.
      This handler is using the FromCluster() function (https://github.com/stackrox/stackrox/blob/d2850bfadf0e4c9a1f493d7c09f68a964da0edb0/pkg/helm/config/from_cluster.go#L29), which currently still includes the nowadays (after ROX_ADMISSION_CONTROLLER_CONFIG=true) deprecated Helm chart settings. Using the config as-is will produce a warning. The following settings should be removed:

      admissionControl:
          dynamic:
              scanInline: true
              timeout: 10
          listenOnCreates: true
          listenOnEvents: true
          listenOnUpdates: true

      Acceptance Criteria:

      Deprecated fields are removed from the rendering code of the handler.

              mclasmei@redhat.com Moritz Clasmeier
              mclasmei@redhat.com Moritz Clasmeier
              ACS Install
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: