Add CI tests for ConfigurablePKI installer feature#77043
Add CI tests for ConfigurablePKI installer feature#77043hasbro17 wants to merge 1 commit intoopenshift:mainfrom
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: hasbro17 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/pj-rehearse |
|
@hasbro17: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
The rehearsals will of course fail until the installer support for PKI is actually merged from openshift/installer#10396 The goal is to merge this first and then run the presubmits on the installer PR to validate the PKI featuregate workflow. |
1c7d82c to
ada480e
Compare
|
/pj-rehearse |
|
@hasbro17: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
Add step-registry components and CI jobs to validate the ConfigurablePKI feature gate for the OpenShift installer. When enabled with CustomNoUpgrade, signer certificates default to ECDSA P-384. New step-registry components: - openshift-installer-pki-conf: adds pki section to install-config.yaml - openshift-installer-pki-verify: verifies signer cert algorithms and PKI CR post-install - openshift-installer-pki-ipi-conf: chain wrapping ipi-conf + pki-conf New CI jobs (openshift/installer, main branch): - e2e-aws-ovn-pki-default: optional presubmit, verifies default ECDSA P-384 signer certs when feature gate is enabled without explicit config - e2e-aws-ovn-pki-rsa: optional presubmit, verifies explicit RSA-4096 override for signer certs - periodic-e2e-aws-ovn-pki-default: periodic (72h) for default behavior - periodic-e2e-aws-ovn-pki-rsa: periodic (72h) for RSA override Assisted-by: Claude Code (Opus 4.6)
|
Alright, the pki cert and CR verification test seems to be checking everything correctly now: |
ada480e to
a04896f
Compare
|
[REHEARSALNOTIFIER]
Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
@hasbro17: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
This provides the presubmits for the installer support of the PKI config openshift/installer#10396
Summary
ConfigurablePKIfeature gate, which changes installer-generated signer certificates fromRSA-2048toECDSA P-384by default when enabledECDSA P-384signers) and explicitRSA-4096override, each as an optional presubmit and a 72h periodicNew step-registry components
openshift-installer-pki-conf(ref) — Addspkisection toinstall-config.yamlviayq. No-op whenPKI_ALGORITHMis unset, allowing the default behavior test.openshift-installer-pki-verify(ref) — Verifies signer cert algorithms/key params and PKI CR post-install. Outputs a pass/fail summary table to stdout and writes full certificate details to the artifactdirectory.
openshift-installer-pki-ipi-conf(chain) — Wrapsipi-conf→openshift-installer-pki-confto ensure correct ordering.New CI jobs (
openshift/installer,mainbranch)Optional presubmits:
e2e-aws-ovn-pki-default— Feature gate ON, no explicit config → expectsECDSA P-384signerse2e-aws-ovn-pki-rsa— Feature gate ON, explicitRSA-4096→ expectsRSA-4096signersPeriodics (72h):
periodic-e2e-aws-ovn-pki-default— Same as default presubmitperiodic-e2e-aws-ovn-pki-rsa— Same as RSA presubmitAll jobs use
CustomNoUpgradewithConfigurablePKI=true, run PKI verification before the full e2e suite (fail fast), and target AWS IPI.