UNCLASSIFIED - NO CUI

Image does not include standard linux util `which`

Feature description

Add which to this image (microdnf install which -y).

Use cases

I was attempting to use the upstream velero helm chart with Ironbank images and was unable to swap in any kubectl images available in Ironbank due to the use of the which utility - https://github.com/vmware-tanzu/helm-charts/blob/main/charts/velero/templates/upgrade-crds/upgrade-crds.yaml#L52-L56 . I did note that Big Bang maintains a helm chart fork, where they changed the logic to not require that utility but this feels like a very small change that would help BB to align closer to upstream.

This repo indicates it is based on the bitnami kubectl image, and that includes which so that seems logical to add here to make it a more direct drop in replacement. I see few/no issues with this - I suspect there are very few/infrequent CVE issues with which.

Benefits

This image would be more usable as a drop in replacement for the upstream.

Requirements

Add which.

Tasks

  • Feature has been implemented

Please read the Iron Bank Documentation for more info

Edited by Micah Nagel
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information