Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-4671

Expand operator-sdk to output bundle size when validating

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Operator SDK
    • None
    • False
    • None
    • False
    • Not Selected

      1. Proposed title of this feature request

      Expand operator-sdk to output bundle size when validating OLM bundles.

       

      2. What is the nature and description of the request?

      The Operator SDK command line tool (operator-sdk) should output the bundle size when running:

      $ operator-sdk bundle validate --verbose <bundle-image> 

       

      I think that this information probably only needs to be printed when the `–verbose` flag is passed. 

      3. Why does the customer need this? (List the business requirements here)

      This would be useful for operator maintainers so that they can easily determine how close they are to the 1Mb bundle size limit.  

       

      It looks like this could probably be done here:

       

      See this post for more information about olm bundle size limitations:

      4. List any affected packages or components.

       

      • operator-sdk

       

            rhn-coreos-tunwu Tony Wu
            chadams@redhat.com Christian Adams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: