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

[IBU] [Doc] Missing an example of preparing a configmap with extraManiftests for IBU

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 4.16.0
    • Documentation / CNF
    • No
    • 1
    • T&PS 2024 #4, T&PS 2024 #5
    • 2
    • False
    • Hide

      None

      Show
      None
    • Hide
      2024-04-29: On review
      2024-04-22: Sending for review this week.
      2024-04-15: Following up with Sasha to clarify questions.
      Show
      2024-04-29: On review 2024-04-22: Sending for review this week. 2024-04-15: Following up with Sasha to clarify questions.

      Looking at the doc

      We see this example with extraManifests:

      apiVersion: lca.openshift.io/v1alpha1
      kind: ImageBasedUpgrade
      metadata:
        name: example-upgrade
      spec:
        stage: Idle 
        seedImageRef: 
          version: <target_version>
          image: <seed_container_image>
          pullSecretRef: <seed_pull_secret>
        additionalImages:
          name: ""
          namespace: ""
        autoRollbackOnFailure: {} 
      #    disabledForPostRebootConfig: "true" 
      #    disabledForUpgradeCompletion: "true" 
      #    disabledInitMonitor: "true" 
      #    initMonitorTimeoutSeconds: 1800 
      #  extraManifests: 
      #  - name: sno-extra-manifests
      #    namespace: openshift-lifecycle-agent
        oadpContent: 
        - name: oadp-cm-example
          namespace: openshift-adp
      

      extraManifest has number 8 assigned to it with the following explanation following

      (Optional) Specify the list of ConfigMap resources that contain the additional extra manifests that you want to apply to the target cluster. You can also add your custom catalog sources that you want to retain after the upgrade.

      The doc is missing an example of such a configmap

              rhn-support-amolnar Alexandra Molnar
              achuzhoy@redhat.com Alexander Chuzhoy
              Alexander Chuzhoy Alexander Chuzhoy
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: