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

Allow custom values for helm charts to be provided

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • None
    • CLID Sprint 272, CLID Sprint 274
    • 2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
      

              rh-ee-aguidi Alex Guidi
              rhn-support-sreber Simon Reber
              None
              None
              Nidan Gavali Nidan Gavali
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: