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

[oc-mirror] Add `--auth` option support in the `oc-mirror` binary

    XMLWordPrintable

Details

    • False
    • None
    • False
    • Not Selected
    • 0
    • 0% 0%

    Description

      1. Proposed title of this feature request

      • Current to authenticate registries for `oc-mirror` the `~/.docker/config.json` or `${XDG_RUNTIME_DIR}/containers/auth.json` should contain auth config for both release/catalog source images and your mirror registry.
      • But the same is not needed for `podman` or `skopeo`  as both support `--auth` option where we can directly pass these files manually.

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

      • Add flexibility in `oc-mirror` command by the `--auth` option to pass any file as a auth file.

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

      • The credentials are left on the sync server and must be manually deleted by the customer after each sync.
      • Creating and removing files on the default path is difficult for the automation

      4. List any affected packages or components.

      `oc-mirror` binary

       

      Extra:

      • I don't find any documented information for the same as well
      • I also find a simillar open bug for the same

      https://github.com/openshift/oc-mirror/issues/537

      Attachments

        Activity

          People

            gausingh@redhat.com Gaurav Singh
            rhn-support-mdeore Mayur Deore
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: