Bug 1804763

Summary: oauth-proxy image cannot be referenced for disconnected installs
Product: OpenShift Container Platform Reporter: Ben Parees <bparees>
Component: apiserver-authAssignee: Michal Fojtik <mfojtik>
Status: CLOSED ERRATA QA Contact: scheng
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.4CC: aos-bugs, mfojtik
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Feature: Allow consumption of oauth-proxy image in disconnected installs by external components (Istio) using openshift/oauth-proxy:v4.4 image stream tag.
Story Points: ---
Clone Of:
: 1804765 (view as bug list) Environment:
Last Closed: 2020-07-13 17:16:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1804765    

Description Ben Parees 2020-02-19 15:14:26 UTC
Description of problem:

The oauth-proxy image is used by various external products (e.g. OLM operators).  Currently they must reference all their images using SHAs to ensure they can be mirrored for disconnected installs.  However that means they must repackage their operator every time the SHA changes.

It would be better if they can simply reference the current image via an imagestreamtag provided by OCP.

We will introduce a new imagestreamtag that maps to the SHA from the OCP payload for the cluster and OLM components can reference that tag to ensure they are always getting the right image.


Actual results:
There is no oauth-proxy imagestreamtag in the openshift namespace

Expected results:
There will be an oauth-proxy imagestreamtag in the openshift namespace which resolves to the SHA of the oauth-proxy image from the cluster's payload.

Comment 3 Ben Parees 2020-03-02 14:39:59 UTC
reopening this since the PR that fixed it was reverted.

Comment 4 Stefan Schimanski 2020-05-19 10:56:02 UTC
Fixed through https://github.com/openshift/cluster-samples-operator/pull/241.

Comment 8 errata-xmlrpc 2020-07-13 17:16:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:2409