Bug 1914209

Summary: Associate image secret name to pipeline serviceaccount imagePullSecrets
Product: OpenShift Container Platform Reporter: Karthik Jeeyar <kjeeyar>
Component: Dev ConsoleAssignee: Karthik Jeeyar <kjeeyar>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.7CC: aos-bugs, nmukherj, spathak
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-24 15:51:25 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:
Attachments:
Description Flags
Image secret name is associated to pipeline serviceaccount imagePullSecrets none

Description Karthik Jeeyar 2021-01-08 11:14:45 UTC
Description of problem:
While adding secret for image Registry in start pipeline model, the pipeline service account is missing the new secret name in the imagePullSecrets property.



Version-Release number of selected component (if applicable):
4.7

How reproducible:
Always

Steps to Reproduce:
1.In start pipeline modal, Advanced Options -> Add Secret
2.Choose Image Registry option
3.Fill the details and click on create secret check button.

Actual results (In pipeline serviceAccount yaml):

secrets:
  - name: pipeline-token-88mw6
  - name: pipeline-dockercfg-pv68m
  - name: quay-sec
imagePullSecrets:
  - name: pipeline-dockercfg-pv68m

Expected results (In pipeline serviceAccount yaml):

secrets:
  - name: pipeline-token-88mw6
  - name: pipeline-dockercfg-pv68m
  - name: quay-sec
imagePullSecrets:
  - name: pipeline-dockercfg-pv68m
  - name: quay-sec
 


Additional info:

Comment 2 spathak@redhat.com 2021-01-13 12:04:38 UTC
Created attachment 1747038 [details]
Image secret name is associated to pipeline serviceaccount imagePullSecrets

Comment 3 spathak@redhat.com 2021-01-13 12:05:50 UTC
Verified on build: 4.7.0-0.nightly-2021-01-12-203716
Browser version: Chrome 84

Comment 6 errata-xmlrpc 2021-02-24 15:51:25 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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), 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/RHSA-2020:5633