Description of problem:
Some helm charts don't render without providing values. Which forces one to use additionalImages a lot. Also a handy feature to reduce the additionalImages list, by setting the custom image (flavour) directly in the helm chart. One example would be OpenBao, that provides ubi based images, but doesn't use them by default. Before: > kind: ImageSetConfiguration > apiVersion: mirror.openshift.io/v2alpha1 > mirror: > # ... > additionalImages: > - quay.io/openbao/openbao-ubi:2.2.0 > helm: > repositories: > - name: bao > url: https://openbao.github.io/openbao-helm > charts: > - name: openbao > version: 0.12.0 # You'd have to manually check the matching image > # when bumping the chart's version After: > kind: ImageSetConfiguration > apiVersion: mirror.openshift.io/v2alpha1 > mirror: > # ... > helm: > repositories: > - name: bao > url: https://openbao.github.io/openbao-helm > charts: > - name: openbao > version: 0.12.0 > values: > server: > image: > repository: "openbao/openbao-ubi"
Version-Release number of selected component (if applicable):
OpenShift Container Platform 4.19 and before
How reproducible:
Always
Steps to Reproduce:
1. N/A
Actual results:
> kind: ImageSetConfiguration > apiVersion: mirror.openshift.io/v2alpha1 > mirror: > # ... > additionalImages: > - quay.io/openbao/openbao-ubi:2.2.0 > helm: > repositories: > - name: bao > url: https://openbao.github.io/openbao-helm > charts: > - name: openbao > version: 0.12.0 # You'd have to manually check the matching image > # when bumping the chart's version
Expected results:
> kind: ImageSetConfiguration > apiVersion: mirror.openshift.io/v2alpha1 > mirror: > # ... > helm: > repositories: > - name: bao > url: https://openbao.github.io/openbao-helm > charts: > - name: openbao > version: 0.12.0 > values: > server: > image: > repository: "openbao/openbao-ubi"
Additional info:
Created based on https://github.com/openshift/oc-mirror/pull/1161