Uploaded image for project: 'Fuse/AMQ Documentation'
  1. Fuse/AMQ Documentation
  2. FUSEDOC-5011

Not to use "--force" option for oc replace

XMLWordPrintable

    • integration-doc-starts-290822, integration-doc-strts-120922-2, integration-doc-starts-260922
    • 1

      To avoid the known issue[1], please consider not to use "--force" option to replace Fuse image streams.
      https://access.redhat.com/documentation/en-us/red_hat_fuse/7.10/html/fuse_on_openshift_guide/get-started-admin#install-fuse-on-openshift4

      oc replace --force -n openshift -f ${BASEURL}/fis-image-streams.json
      

      This is the explanation for the option:
      --force=false: If true, immediately remove resources from API and bypass graceful deletion. Note that immediate
      Not using this option sounds like more safe for the existing OCP environment.

      [1]
      https://bugzilla.redhat.com/show_bug.cgi?id=2055938#c3

            rhn-support-ajonsson Andreas Jonsson
            rhn-support-hfuruich Hisao Furuichi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: