Bug 2027928 - pod-identity-webhook starts without tls
Summary: pod-identity-webhook starts without tls
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cloud Credential Operator
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.8.z
Assignee: Luis Sanchez
QA Contact: Jianping SHu
URL:
Whiteboard:
: 2028615 (view as bug list)
Depends On: 2024751
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-01 04:40 UTC by OpenShift BugZilla Robot
Modified: 2021-12-14 11:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-14 11:45:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cloud-credential-operator pull 429 0 None open [release-4.8] [release-4.9] Bug 2027928: pod-identity-webhook starts without tls 2021-12-06 05:24:17 UTC
Red Hat Product Errata RHBA-2021:4999 0 None None None 2021-12-14 11:45:49 UTC

Comment 1 Joel Diaz 2021-12-03 18:49:11 UTC
*** Bug 2028615 has been marked as a duplicate of this bug. ***

Comment 2 Jianping SHu 2021-12-06 07:05:21 UTC
Verified with cluster-bot cluster with PR 429 (launch 4.8-ci,openshift/cloud-credential-operator#429 aws)

1. Check pod-identity-webhook pod log, no "Error fetching secret"  
W1206 06:25:55.569752       1 client_config.go:615] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
I1206 06:25:55.573631       1 main.go:191] Creating server
I1206 06:25:55.574435       1 main.go:211] Listening on :9999 for metrics and healthz
I1206 06:25:55.574549       1 main.go:205] Listening on :6443

2. Check creationTimestamp of secret pod-identity-webhook is before that of "Creating server" in log  
oc get secret pod-identity-webhook -n openshift-cloud-credential-operator -o yaml
  creationTimestamp: "2021-12-06T06:25:50Z"

3. Check the volume in pod-identity-webhook yaml  
oc get pod pod-identity-webhook-844494b567-qw8kq -n openshift-cloud-credential-operator -o yaml
  volumes:
  - name: webhook-certs
    secret:
      defaultMode: 420
      secretName: pod-identity-webhook

Comment 8 errata-xmlrpc 2021-12-14 11:45:39 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 (OpenShift Container Platform 4.8.24 bug fix 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/RHBA-2021:4999


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