Closed praveenkumar closed 5 months ago
I checked again with rc-4
bits and looks like now it is as expected, will create the bundle and then test with crc.
$ oc get co
NAME VERSION AVAILABLE PROGRESSING DEGRADED SINCE MESSAGE
authentication 4.16.0-rc.4 True False False 6m22s
config-operator 4.16.0-rc.4 True False False 24h
console 4.16.0-rc.4 True False False 24h
control-plane-machine-set 4.16.0-rc.4 True False False 24h
dns 4.16.0-rc.4 True False False 15m
etcd 4.16.0-rc.4 True False False 24h
image-registry 4.16.0-rc.4 True False False 9m19s
ingress 4.16.0-rc.4 True False False 24h
kube-apiserver 4.16.0-rc.4 True False False 24h
kube-controller-manager 4.16.0-rc.4 True False False 24h
kube-scheduler 4.16.0-rc.4 True False False 24h
kube-storage-version-migrator 4.16.0-rc.4 True False False 24h
machine-api 4.16.0-rc.4 True False False 24h
machine-approver 4.16.0-rc.4 True False False 24h
machine-config 4.16.0-rc.4 True False False 24h
marketplace 4.16.0-rc.4 True False False 24h
network 4.16.0-rc.4 True False False 24h
openshift-apiserver 4.16.0-rc.4 True False False 6m33s
openshift-controller-manager 4.16.0-rc.4 True False False 9m51s
openshift-samples 4.16.0-rc.4 True False False 24h
operator-lifecycle-manager 4.16.0-rc.4 True False False 24h
operator-lifecycle-manager-catalog 4.16.0-rc.4 True False False 24h
operator-lifecycle-manager-packageserver 4.16.0-rc.4 True False False 18m
service-ca 4.16.0-rc.4 True False False 24h
$ echo -e "NAMESPACE\tNAME\tEXPIRY" && oc get secrets -A -o go-template='{{range .items}}{{if eq .type "kubernetes.io/tls"}}{{.metadata.namespace}}{{" "}}{{.metadata.name}}{{" "}}{{index .data "tls.crt"}}{{"\n"}}{{end}}{{end}}' | while read namespace name cert; do echo -en "$namespace\t$name\t"; echo $cert | base64 -d | openssl x509 -noout -enddate; done | column -t | grep 2024
NAMESPACE NAME EXPIRY
openshift-network-node-identity network-node-identity-cert notAfter=Dec 10 20:33:24 2024 GMT
openshift-operator-lifecycle-manager pprof-cert notAfter=Jun 13 09:00:26 2024 GMT
openshift-ovn-kubernetes ovn-cert notAfter=Dec 10 20:33:15 2024 GMT
openshift-ovn-kubernetes signer-cert notAfter=Dec 10 20:33:15 2024 GMT
Closing this issue as we did not experience it again across several rc
versions
Even with our patched images the final bundle doesn't have proper cert rotation.
4.16.0-rc.3 bundle which created using patched image shows some certs which is not rotated properly . We need to check if our patched images have issue or we are missing something.