Bug 1978629 - [RFE]'oc describe build|buildconfig' should show mount souce info when add Secret Volume Mounts to buildconfig
Summary: [RFE]'oc describe build|buildconfig' should show mount souce info when add Se...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Build
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.9.0
Assignee: Corey Daley
QA Contact: XiuJuan Wang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-02 11:05 UTC by XiuJuan Wang
Modified: 2021-10-18 17:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-18 17:38:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift oc pull 874 0 None open Bug 1978629: Add oc describe output for build volumes 2021-07-02 17:46:12 UTC
Red Hat Product Errata RHSA-2021:3759 0 None Waiting on Customer [BZ] LOGIN_STRING defined in /etc/login.defs not working 2022-04-16 12:22:42 UTC

Description XiuJuan Wang 2021-07-02 11:05:35 UTC
Description of problem:
'oc describe build or buildconfig' should show mount source info when add Secret Volume Mounts 

Version-Release number of selected component (if applicable):
oc version 
Client Version: 4.9.0-0.nightly-2021-07-02-002856
Server Version: 4.9.0-0.nightly-2021-07-01-200539
Kubernetes Version: v1.21.0-rc.0+3ed65d9

How reproducible:
always

Steps to Reproduce:
1.Create a buildconfig, and add Secret Volume Mounts 
2.Describe buildconfig
3.

Actual results:
No Secret Volume Mounts shown.

$ oc describe bc test1
Name:		test1
Namespace:	xiuwang
Created:	26 minutes ago
Labels:		build=test1
Annotations:	openshift.io/generated-by=OpenShiftNewBuild
Latest Version:	3

Strategy:	Docker
Dockerfile:
  FROM centos:7
  RUN yum install -y httpd
  RUN ls -l /var/run/secret/
From Image:	ImageStreamTag xiuwang/centos:7
Output to:	ImageStreamTag test1:latest
Empty Source:	no input source provided

Build Run Policy:	Serial
Triggered by:		Config, ImageChange
Webhook GitHub:
	URL:	https://api.wxj-49.qe.devcluster.openshift.com:6443/apis/build.openshift.io/v1/namespaces/xiuwang/buildconfigs/test1/webhooks/<secret>/github
Webhook Generic:
	URL:		https://api.wxj-49.qe.devcluster.openshift.com:6443/apis/build.openshift.io/v1/namespaces/xiuwang/buildconfigs/test1/webhooks/<secret>/generic
	AllowEnv:	false
Builds History Limit:
	Successful:	5
	Failed:		5

Build		Status		Duration		Creation Time
test1-3 	pending 	waiting for 11m49s 	2021-07-02 18:51:52 +0800 CST
test1-1 	failed 		32s 			2021-07-02 18:37:28 +0800 CST


Expected results:
Should show Secret Volume Mounts info

Additional info:

Comment 2 XiuJuan Wang 2021-07-16 09:33:11 UTC
Verified before pr merged.

Comment 5 errata-xmlrpc 2021-10-18 17:38:00 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.9.0 bug fix and security 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-2021:3759


Note You need to log in before you can comment on or make changes to this bug.