Bug 1975947

Summary: Add egress ips to anonymizer
Product: OpenShift Container Platform Reporter: Serhii Zakharov <szakharo>
Component: Insights OperatorAssignee: Serhii Zakharov <szakharo>
Status: CLOSED ERRATA QA Contact: Dmitry Misharov <dmisharo>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.9CC: aos-bugs, dmisharo, inecas, mklika, tremes
Target Milestone: ---   
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-18 17:36:51 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: 1974877    

Description Serhii Zakharov 2021-06-24 19:21:52 UTC
Needed for the backport https://github.com/openshift/insights-operator/pull/462

Comment 1 Pavel Šimovec 2021-07-07 09:18:38 UTC
steps:
1. add egress IP to openshift-monitoring netnamespace
oc patch netnamespace openshift-monitoring --type=merge -p\
  '{"egressIPs": ["192.168.1.100"]}'
2. enable obfuscation

expected result:
1.
config/netnamespaces.yaml contains the egress IP
{"name":"openshift-monitoring","egressIPs":["192.168.1.100"],"netID":788919}
2.
config/netnamespaces.yaml contains obfuscated egress IP
{"name":"openshift-monitoring","egressIPs":["0.0.0.0"],"netID":788919}

VERIFIED

Comment 4 errata-xmlrpc 2021-10-18 17:36:51 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