-
Bug
-
Resolution: Done-Errata
-
Undefined
-
4.15, 4.16.0
-
None
Description of problem:
`ensureSigningCertKeyPair` and `ensureTargetCertKeyPair` are always updating secret type. if the secret requires metadata update, its previous content will not be retained
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. Install 4.6 cluster (or make sure installer-generated secrets have `type: SecretTypeTLS` instead of `type: kubernetes.io/tls` 2. Run secret sync 3. Check secret contents
Actual results:
Secret was regenerated with new content
Expected results:
Existing content should be preserved, content is not modified
Additional info:
This causes api-int CA update for clusters born in 4.6 or earlier.
- blocks
-
OCPBUGS-30304 cert-syncer is forcibly changing secret type without retaining content
- Closed
- causes
-
OCPBUGS-25821 cert issues during or after 4.14 to 4.15 upgrade
- Closed
- is cloned by
-
OCPBUGS-30304 cert-syncer is forcibly changing secret type without retaining content
- Closed
- links to
-
RHEA-2024:0041 OpenShift Container Platform 4.16.z bug fix update
(1 links to)