Bug 1885930

Summary: [release 4.7] Collect ServiceAccount statistics
Product: OpenShift Container Platform Reporter: Martin Kunc <mkunc>
Component: Insights OperatorAssignee: Tomas Remes <tremes>
Status: CLOSED ERRATA QA Contact: Pavel Šimovec <psimovec>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.7CC: aos-bugs, inecas, tremes
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Feature: Collect the service account info Reason: There was Insights Nomination https://issues.redhat.com/browse/INSIGHTOCP-75 to help diagnosing https://bugzilla.redhat.com/show_bug.cgi?id=1855706 Result: The number of service accounts in Kubernetes/OpenShift default/built-in namespaces is collected.
Story Points: ---
Clone Of:
: 1885935 (view as bug list) Environment:
Last Closed: 2021-02-24 15:23:22 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: 1885937, 1885941    

Description Martin Kunc 2020-10-07 10:04:23 UTC
This is adding collection of ServiceAccounts statistics from Openshift namespaces

Comment 2 Pavel Šimovec 2020-10-09 09:15:07 UTC
added check to e2e tests for pattern ^config/serviceaccounts\.json$

Archive contains
config/serviceaccounts.json

verified on 4.7.0-0.ci-2020-10-09-055453
> oc get clusterversion
NAME      VERSION                        AVAILABLE   PROGRESSING   SINCE     STATUS
version   4.7.0-0.ci-2020-10-09-055453   True        False         12m       Cluster version is 4.7.0-0.ci-2020-10-09-055453

Comment 6 errata-xmlrpc 2021-02-24 15:23:22 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