Bug 2045591

Summary: Reconciliation of aws pod identity mutating webhook did not happen
Product: OpenShift Container Platform Reporter: Akhil Rane <arane>
Component: Cloud Credential OperatorAssignee: Akhil Rane <arane>
Status: CLOSED ERRATA QA Contact: wang lin <lwan>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.10CC: lwan
Target Milestone: ---   
Target Release: 4.10.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: 2022-03-10 16:42:23 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:

Description Akhil Rane 2022-01-25 17:58:59 UTC
Description of problem:
Reconciliation of aws pod identity mutating webhook did not happen

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


How reproducible:


Steps to Reproduce:
1.oc scale deployment cloud-credential-operator -n openshift-cloud-credential-operator --replicas=0
2.oc scale deployment pod-identity-webhook -n openshift-cloud-credential-operator --replicas=0
3.Updated the aws pod identity mutating webhook configuration with port 443->444
4.oc scale deployment cloud-credential-operator -n openshift-cloud-credential-operator --replicas=1
5.oc scale deployment pod-identity-webhook -n openshift-cloud-credential-operator --replicas=1

Actual results:
The controller does not reconcile port value back to 443 from 444

Expected results:
The controller should reconcile port value back to 443 from 444

Additional info:

Comment 2 wang lin 2022-01-27 03:38:58 UTC
Verified on 4.10.0-0.nightly-2022-01-26-234447 with the fix PR

The port will back to default 443 after I patch it to 444

$ oc get mutatingwebhookconfiguration pod-identity-webhook -o json | jq -r ".webhooks[].clientConfig.service"
{
  "name": "pod-identity-webhook",
  "namespace": "openshift-cloud-credential-operator",
  "path": "/mutate",
  "port": 443
}


tested on 4.10.0-fc.2 without the fix pr

The port will not reset after I patch it to 444

$ oc get mutatingwebhookconfiguration pod-identity-webhook -o json | jq -r ".webhooks[].clientConfig.service"
{
  "name": "pod-identity-webhook",
  "namespace": "openshift-cloud-credential-operator",
  "path": "/mutate",
  "port": 444
}

Comment 5 errata-xmlrpc 2022-03-10 16:42:23 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.10.3 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-2022:0056