Skip to content

Revert "prowgen: use preset for registry pull credentials volume"#5019

Merged
openshift-merge-robot merged 1 commit intoopenshift:mainfrom
petr-muller:revert-4994-preset-ci-operator-image-pull
Mar 17, 2026
Merged

Revert "prowgen: use preset for registry pull credentials volume"#5019
openshift-merge-robot merged 1 commit intoopenshift:mainfrom
petr-muller:revert-4994-preset-ci-operator-image-pull

Conversation

@petr-muller
Copy link
Copy Markdown
Member

Reverts #4994

For some reason rehearsals stopped working on openshift/release#76266 despite working previously

Copilot AI review requested due to automatic review settings March 17, 2026 11:06
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

Pipeline controller notification
This repo is configured to use the pipeline controller. Second-stage tests will be triggered either automatically or after lgtm label is added, depending on the repository configuration. The pipeline controller will automatically detect which contexts are required and will utilize /test Prow commands to trigger the second stage.

For optional jobs, comment /test ? to see a list of all defined jobs. To trigger manually all jobs from second stage use /pipeline required command.

This repository is configured in: automatic mode

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Mar 17, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: petr-muller
Once this PR has been reviewed and has the lgtm label, please assign pruan-rht for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 17, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: a9b1ea43-bf46-420d-8936-9a2cc7e35da5

📥 Commits

Reviewing files that changed from the base of the PR and between 3667f5e and 7811500.

📒 Files selected for processing (202)
  • cmd/ci-operator-prowgen/testdata/zz_fixture_postsubmit_TestFromCIOperatorConfigToProwYaml_Custom_test_timeout.yaml
  • cmd/ci-operator-prowgen/testdata/zz_fixture_postsubmit_TestFromCIOperatorConfigToProwYaml_Input_is_YAML_and_it_is_correctly_processed.yaml
  • cmd/ci-operator-prowgen/testdata/zz_fixture_postsubmit_TestFromCIOperatorConfigToProwYaml_Using_a_variant_config__one_test_and_images__one_existing_job._Expect_one_presubmit__pre_post_submit_images_jobs._Existing_job_should_not_be_changed..yaml
  • cmd/ci-operator-prowgen/testdata/zz_fixture_postsubmit_TestFromCIOperatorConfigToProwYaml_one_test_and_images__no_previous_jobs._Expect_test_presubmit__pre_post_submit_images_jobs.yaml
  • cmd/ci-operator-prowgen/testdata/zz_fixture_presubmit_TestFromCIOperatorConfigToProwYaml_Custom_test_timeout.yaml
  • cmd/ci-operator-prowgen/testdata/zz_fixture_presubmit_TestFromCIOperatorConfigToProwYaml_Input_is_YAML_and_it_is_correctly_processed.yaml
  • cmd/ci-operator-prowgen/testdata/zz_fixture_presubmit_TestFromCIOperatorConfigToProwYaml_Using_a_variant_config__one_test_and_images__one_existing_job._Expect_one_presubmit__pre_post_submit_images_jobs._Existing_job_should_not_be_changed..yaml
  • cmd/ci-operator-prowgen/testdata/zz_fixture_presubmit_TestFromCIOperatorConfigToProwYaml_one_test_and_images__no_previous_jobs._Expect_test_presubmit__pre_post_submit_images_jobs.yaml
  • cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestGenerateProwJob_additional_PR_from_the_same_repo.yaml
  • cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestGenerateProwJob_multiple_additional_PRs.yaml
  • cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestHandle_trigger_a_single_multi_pr_job_run_with_additional_PR_from_a_different_repo.yaml
  • cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestHandle_trigger_a_single_multi_pr_job_run_with_additional_PR_from_the_same_repo.yaml
  • cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestHandle_trigger_multiple_multi_pr_job_runs_with_diverse_additional_PRs.yaml
  • hack/test-integration.sh
  • pkg/api/constant.go
  • pkg/controller/ephemeralcluster/testdata/zz_fixture_pj_TestCreateProwJob_An_EphemeralCluster_request_creates_a_ProwJob.yaml
  • pkg/controller/ephemeralcluster/testdata/zz_fixture_pj_TestCreateProwJob_Hive_cluster_request_creates_a_ProwJob.yaml
  • pkg/controller/ephemeralcluster/testdata/zz_fixture_pj_TestCreateProwJob_Inject_missing_PR_metadata.yaml
  • pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_aggregated_case.yaml
  • pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case.yaml
  • pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case_with_no_PRs_included__testing_determined_base.yaml
  • pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case_with_sharded_job.yaml
  • pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case_with_variant.yaml
  • pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case_without_PR__testing_specified_base.yaml
  • pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_multiple_PRs_from_different_repositories.yaml
  • pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_multiple_PRs_from_the_same_repository.yaml
  • pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_multiple_case__one_of_the_prowjobs_already_exists.yaml
  • pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_override_initial_and_base_payload_pullspecs.yaml
  • pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_override_tag.yaml
  • pkg/prowgen/jobbase.go
  • pkg/prowgen/podspec.go
  • pkg/prowgen/testdata/zz_fixture_TestCIPullSecret_secret_is_added.yaml
  • pkg/prowgen/testdata/zz_fixture_TestClaims_secret_is_added.yaml
  • pkg/prowgen/testdata/zz_fixture_TestCustomHashInput_custom_hash_input_is_added.yaml
  • pkg/prowgen/testdata/zz_fixture_TestCustomHashInput_custom_hash_inputs_are_added.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGSMConfig_add_gsm_config_volume_and_mount.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_config_variant.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_expose_job_for_private_repos_with_public_results.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_expose_option_set_but_not_private.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_hidden_job_for_private_repos.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_no_special_options.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_path_alias.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_rehearsable.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_Promotion_configuration_causes_promote_job.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_Promotion_configuration_causes_promote_job_with_unique_targets.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_cluster_label_for_periodic.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_cluster_label_for_postsubmit.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_cluster_label_for_presubmit.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_disabled_rehearsals_at_job_level.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_disabled_rehearsals_at_repo_level.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_images_job_is_configured_for_slack_reporting.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_kvm_label.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_multiarch_postsubmit_images.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_multiarch_test_job.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_no_Promotion_configuration_has_no_branch_job.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_operator_section_creates_bundle_with_capabilities.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_operator_section_creates_ci_index_my_bundle_presubmit_job.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_operator_section_creates_ci_index_presubmit_job.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_operator_section_without_index_creates_ci_index_my_bundle_presubmit_job.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_periodic_presubmit_with_capabilities.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_periodic_with_capabilities.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_periodic_with_presubmit.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_promotion_postsubmit_and_periodic_.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_sharded_presubmit.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_template_test.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_two_tests_and_empty_Images_so_only_two_test_presubmits_are_generated.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_two_tests_and_empty_Images_with_one_test_configured_as_a_postsubmit.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_two_tests_and_nonempty_Images_so_two_test_presubmits_and_images_pre_postsubmits_are_generated_.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_for_a_test_in_a_variant_config.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_for_a_test_with_retry.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_for_standard_test.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_using_interval.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_using_minimum_interval.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_with_capabilities.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_with_disabled_rehearsal.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_Lowercase_org_repo_and_branch.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_Uppercase_org__repo_and_branch.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_postsubmit_with_capabilities.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_postsubmit_with_run_if_changed.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_postsubmit_with_skip_if_only_changed.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_capabilities_added.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_optional_presubmit.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_for_a_test_in_a_variant_config.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_for_standard_test.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_but_optional_true.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_but_pipeline_run_if_changed_set.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_but_pipeline_skip_if_only_changed_set.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_but_run_if_changed_set.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_false.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_false_and_pipeline_run_if_changed.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_false_and_pipeline_skip_if_only_changed.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_run_if_changed.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_skip_if_only_changed.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_rehearsal_disabled.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGitHubToken_podspec_for_private_repo__reusing_Prow_s_volume_with_credentials.yaml
  • pkg/prowgen/testdata/zz_fixture_TestGitHubToken_podspec_for_private_repo_without_reusing_Prow_s_volume_with_credentials.yaml
  • pkg/prowgen/testdata/zz_fixture_TestInjectTestFrom_inject_coordinates_with_variant.yaml
  • pkg/prowgen/testdata/zz_fixture_TestInjectTestFrom_inject_coordinates_without_variant.yaml
  • pkg/prowgen/testdata/zz_fixture_TestLeaseClient_secret_is_added.yaml
  • pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_Cluster.yaml
  • pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_PathAlias.yaml
  • pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_Rehearsable.yaml
  • pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_TestName.yaml
  • pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_WithLabel.yaml
  • pkg/prowgen/testdata/zz_fixture_TestNewCiOperatorPodSpecGenerator_defaults_repo.yaml
  • pkg/prowgen/testdata/zz_fixture_TestNewCiOperatorPodSpecGenerator_no_parameter_is_added_when_variant_is_empty.yaml
  • pkg/prowgen/testdata/zz_fixture_TestNewCiOperatorPodSpecGenerator_parameter_is_added_for_variant.yaml
  • pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_OpenshiftAnsibleClusterTestConfiguration.yaml
  • pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_OpenshiftAnsibleCustomClusterTestConfiguration.yaml
  • pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_OpenshiftInstallerClusterTestConfiguration.yaml
  • pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_OpenshiftInstallerCustomTestImageClusterTestConfiguration.yaml
  • pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_OpenshiftInstallerUPIClusterTestConfiguration.yaml
  • pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_job_excluded_by_patterns_should_not_have_slack_reporter_config.yaml
  • pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_literal_multi_stage_test.yaml
  • pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test.yaml
  • pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test_with_CSI_enabled.yaml
  • pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test_with_claim.yaml
  • pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test_with_cluster_profile.yaml
  • pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test_with_releases.yaml
  • pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test.yaml
  • pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_cluster.yaml
  • pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_secret.yaml
  • pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_secrets.yaml
  • pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_timeout.yaml
  • pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_timeout_and_no_decoration.yaml
  • pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_test_with_CSI_enabled.yaml
  • pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_with_slack_reporter_config.yaml
  • pkg/prowgen/testdata/zz_fixture_TestPromotion_secret_and_parameters_are_added.yaml
  • pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_default_job_without_further_configuration.yaml
  • pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_default_job_without_further_configuration__including_podspec.yaml
  • pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_a_buildroot_in_of_openshift_release_main__does_not_have_no_builds__label.yaml
  • pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_a_variant.yaml
  • pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_a_variant__including_podspec.yaml
  • pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_binary_build_in_openshift_release_main__does_not_have_no_builds__label.yaml
  • pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_configured_prefix.yaml
  • pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_image_builds_in_of_openshift_release_main__does_not_have_no_builds__label.yaml
  • pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_latest_release_that_is_a_candidate__has_job_release__label.yaml
  • pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_latest_release_that_is_not_a_candidate__does_not_have_job_release__label.yaml
  • pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_no_builds_in_openshift_release_main__does_have_no_builds__label.yaml
  • pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_no_builds_outside_of_openshift_release_main__does_not_have_no_builds__label.yaml
  • pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_not_a_latest_release_that_is_a_candidate__does_not_have_job_release__label.yaml
  • pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_test_binary_build_in_of_openshift_release_main__does_not_have_no_builds__label.yaml
  • pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_private_job_with_cloning__including_podspec.yaml
  • pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_private_job_without_cloning__including_podspec.yaml
  • pkg/prowgen/testdata/zz_fixture_TestReleaseInitial_add_release_initial.yaml
  • pkg/prowgen/testdata/zz_fixture_TestReleaseLatest_add_release_latest.yaml
  • pkg/prowgen/testdata/zz_fixture_TestReleaseRpms_envvar_additional_envvar_generated_for_template.yaml
  • pkg/prowgen/testdata/zz_fixture_TestSecrets_empty_list_is_a_nop.yaml
  • pkg/prowgen/testdata/zz_fixture_TestSecrets_multiple_secrets.yaml
  • pkg/prowgen/testdata/zz_fixture_TestSecrets_one_secret.yaml
  • pkg/prowgen/testdata/zz_fixture_TestTargetAdditionalSuffix_target_additional_suffix_is_added.yaml
  • pkg/prowgen/testdata/zz_fixture_TestTargets_multiple_targets.yaml
  • pkg/prowgen/testdata/zz_fixture_TestTargets_single_target.yaml
  • pkg/prowgen/testdata/zz_fixture_TestTemplate_different_template_with_command.yaml
  • pkg/prowgen/testdata/zz_fixture_TestTemplate_template_with_a_custom_test_image.yaml
  • pkg/prowgen/testdata/zz_fixture_TestTemplate_template_with_command.yaml
  • pkg/prowgen/testdata/zz_fixture_TestTemplate_template_with_different_command.yaml
  • test/integration/ci-operator-prowgen/output/jobs/legacy/branches-separate-files/legacy-branches-separate-files-branch-presubmits.yaml
  • test/integration/ci-operator-prowgen/output/jobs/legacy/branches-separate-files/legacy-branches-separate-files-master-presubmits.yaml
  • test/integration/ci-operator-prowgen/output/jobs/legacy/random-file/legacy-random-file-master-periodics.yaml
  • test/integration/ci-operator-prowgen/output/jobs/norehearsals/duper/norehearsals-duper-master-postsubmits.yaml
  • test/integration/ci-operator-prowgen/output/jobs/norehearsals/duper/norehearsals-duper-master-presubmits.yaml
  • test/integration/ci-operator-prowgen/output/jobs/norehearsals/stuper/norehearsals-stuper-master-postsubmits.yaml
  • test/integration/ci-operator-prowgen/output/jobs/norehearsals/stuper/norehearsals-stuper-master-presubmits.yaml
  • test/integration/ci-operator-prowgen/output/jobs/private-org/duper/private-org-duper-master-presubmits.yaml
  • test/integration/ci-operator-prowgen/output/jobs/private-org/super/private-org-super-master-presubmits.yaml
  • test/integration/ci-operator-prowgen/output/jobs/private/duper/private-duper-master-periodics.yaml
  • test/integration/ci-operator-prowgen/output/jobs/private/duper/private-duper-master-postsubmits.yaml
  • test/integration/ci-operator-prowgen/output/jobs/private/duper/private-duper-master-presubmits.yaml
  • test/integration/ci-operator-prowgen/output/jobs/sharded/repo/sharded-repo-main-presubmits.yaml
  • test/integration/ci-operator-prowgen/output/jobs/slack-report/duper/slack-report-duper-master-periodics.yaml
  • test/integration/ci-operator-prowgen/output/jobs/slack-report/duper/slack-report-duper-master-postsubmits.yaml
  • test/integration/ci-operator-prowgen/output/jobs/slack-report/duper/slack-report-duper-master-presubmits.yaml
  • test/integration/ci-operator-prowgen/output/jobs/subdir/repo/subdir-repo-master-presubmits.yaml
  • test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-job-release-periodics.yaml
  • test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-master-periodics.yaml
  • test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-master-postsubmits.yaml
  • test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-master-presubmits.yaml
  • test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-master-removed-promotion-presubmits.yaml
  • test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-release-3.11-postsubmits.yaml
  • test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-release-3.11-presubmits.yaml
  • test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-release-4.19-periodics.yaml
  • test/integration/pj-rehearse/candidate/ci-operator/jobs/super/duper/super-duper-ciop-cfg-change-presubmits.yaml
  • test/integration/pj-rehearse/candidate/ci-operator/jobs/super/duper/super-duper-cluster-profile-presubmits.yaml
  • test/integration/pj-rehearse/candidate/ci-operator/jobs/super/duper/super-duper-master-presubmits.yaml
  • test/integration/pj-rehearse/candidate/ci-operator/jobs/super/trooper/super-trooper-master-periodics.yaml
  • test/integration/pj-rehearse/candidate/ci-operator/jobs/super/trooper/super-trooper-master-presubmits.yaml
  • test/integration/pj-rehearse/candidate/ci-operator/jobs/uses/observer/uses-observer-master-presubmits.yaml
  • test/integration/pj-rehearse/expected.yaml
  • test/integration/pj-rehearse/master/ci-operator/jobs/super/duper/super-duper-ciop-cfg-change-presubmits.yaml
  • test/integration/pj-rehearse/master/ci-operator/jobs/super/duper/super-duper-cluster-profile-presubmits.yaml
  • test/integration/pj-rehearse/master/ci-operator/jobs/super/duper/super-duper-master-presubmits.yaml
  • test/integration/pj-rehearse/master/ci-operator/jobs/super/trooper/super-trooper-master-periodics.yaml
  • test/integration/pj-rehearse/master/ci-operator/jobs/super/trooper/super-trooper-master-presubmits.yaml
  • test/integration/pj-rehearse/master/ci-operator/jobs/uses/observer/uses-observer-master-presubmits.yaml
  • test/integration/repo-init/expected/ci-operator/jobs/openshift/ci-tools/openshift-ci-tools-master-postsubmits.yaml
  • test/integration/repo-init/expected/ci-operator/jobs/openshift/ci-tools/openshift-ci-tools-master-presubmits.yaml
  • test/integration/repo-init/expected/ci-operator/jobs/openshift/origin/openshift-origin-main-postsubmits.yaml
  • test/integration/repo-init/expected/ci-operator/jobs/openshift/origin/openshift-origin-main-presubmits.yaml
  • test/integration/repo-init/expected/ci-operator/jobs/org/other/org-other-nonstandard-presubmits.yaml
  • test/integration/repo-init/expected/ci-operator/jobs/org/repo/org-repo-main-presubmits.yaml
  • test/integration/repo-init/expected/ci-operator/jobs/org/third/org-third-nonstandard-presubmits.yaml

Cache: Disabled due to data retention organization setting

Knowledge base: Disabled due to Reviews -> Disable Knowledge Base setting


Walkthrough

This change removes the PresetRegistryPullLabel constant from the codebase and refactors registry pull credentials from a preset-based label approach to explicit secret-based mounting. The modification updates source code and hundreds of test fixture files to mount a new pull-secret volume containing registry-pull-credentials at /etc/pull-secret within pod specs.

Changes

Cohort / File(s) Summary
Source Code Core Logic
pkg/api/constant.go, pkg/prowgen/jobbase.go, pkg/prowgen/podspec.go
Removed PresetRegistryPullLabel constant declaration; simplified labels initialization in JobBase builder; added new pull-secret volume and volumeMount in pod spec generator using registry-pull-credentials secret.
Build Script
hack/test-integration.sh
Changed array population to remove quotes around find_tests invocation, affecting test path word splitting behavior.
CI-Operator Prowgen Fixtures
cmd/ci-operator-prowgen/testdata/zz_fixture_*
Removed registry-pull label from postsubmits and presubmits; added pull-secret volumeMount at /etc/pull-secret and corresponding secret volume with registry-pull-credentials across 6 fixture files.
Multi-PR Prow Plugin Fixtures
cmd/multi-pr-prow-plugin/testdata/zz_fixture_*
Added pull-secret volumeMount and secret volume to multiple test fixtures (5 files).
Ephemeral Cluster Fixtures
pkg/controller/ephemeralcluster/testdata/zz_fixture_*
Removed registry-pull label and added pull-secret volume/mount across 3 fixture files.
PRPQR Reconciler Fixtures
pkg/controller/prpqr_reconciler/testdata/zz_fixture_*
Added pull-secret volumeMount and secret volume to 13 test fixture files.
Prowgen Test Fixtures
pkg/prowgen/testdata/zz_fixture_* (all variants)
Removed registry-pull labels from numerous fixtures; added pull-secret volumeMount and secret volume across ~100+ fixture files covering various test scenarios (test generation, periodic jobs, postsubmits, presubmits, etc.).
Integration Test Output
test/integration/ci-operator-prowgen/output/jobs/*
Removed registry-pull labels and added pull-secret volume/mount configurations across integration test output fixtures in multiple directories.
PJ Rehearse Fixtures
test/integration/pj-rehearse/{candidate,master,expected.yaml}
Removed registry-pull presets and added pull-secret volumeMount and secret volume across candidate and master branch test fixtures.
Repo Init Test Fixtures
test/integration/repo-init/expected/ci-operator/jobs/*
Removed registry-pull labels and added pull-secret volume/mount configurations across repo initialization test fixtures.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

@openshift-merge-robot openshift-merge-robot merged commit 71b26d4 into openshift:main Mar 17, 2026
3 of 16 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes reliance on the presets.ci.openshift.io/registry-pull Prow preset by explicitly mounting the cluster pull-secret into generated ci-operator pods, and updates the related integration/fixture outputs accordingly.

Changes:

  • Add an explicit /etc/pull-secret volume + mount (from registry-pull-credentials) to the prowgen default PodSpec, and remove the registry-pull preset label/default.
  • Remove the now-unused PresetRegistryPullLabel constant and update generated job YAML fixtures to include the pull-secret volume instead of the preset label.
  • Adjust integration test runner argument passing (currently introduces an issue; see PR comments).

Reviewed changes

Copilot reviewed 202 out of 202 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
test/integration/repo-init/expected/ci-operator/jobs/org/third/org-third-nonstandard-presubmits.yaml Update expected jobs: remove registry-pull preset label; add pull-secret volume/mount
test/integration/repo-init/expected/ci-operator/jobs/org/repo/org-repo-main-presubmits.yaml Update expected jobs: remove registry-pull preset label; add pull-secret volume/mount
test/integration/repo-init/expected/ci-operator/jobs/org/other/org-other-nonstandard-presubmits.yaml Update expected jobs: remove registry-pull preset label; add pull-secret volume/mount
test/integration/repo-init/expected/ci-operator/jobs/openshift/origin/openshift-origin-main-presubmits.yaml Update expected jobs: remove registry-pull preset label; add pull-secret volume/mount
test/integration/repo-init/expected/ci-operator/jobs/openshift/origin/openshift-origin-main-postsubmits.yaml Update expected jobs: remove registry-pull preset label; add pull-secret volume/mount
test/integration/repo-init/expected/ci-operator/jobs/openshift/ci-tools/openshift-ci-tools-master-presubmits.yaml Update expected jobs: remove registry-pull preset label; add pull-secret volume/mount
test/integration/repo-init/expected/ci-operator/jobs/openshift/ci-tools/openshift-ci-tools-master-postsubmits.yaml Update expected jobs: remove registry-pull preset label; add pull-secret volume/mount
test/integration/pj-rehearse/master/ci-operator/jobs/uses/observer/uses-observer-master-presubmits.yaml Update rehearsal fixtures: remove preset label; add pull-secret volume/mount
test/integration/pj-rehearse/master/ci-operator/jobs/super/trooper/super-trooper-master-presubmits.yaml Update rehearsal fixtures: remove preset label; add pull-secret volume/mount
test/integration/pj-rehearse/master/ci-operator/jobs/super/trooper/super-trooper-master-periodics.yaml Update rehearsal fixtures: remove preset label; add pull-secret volume/mount
test/integration/pj-rehearse/master/ci-operator/jobs/super/duper/super-duper-master-presubmits.yaml Update rehearsal fixtures: remove preset label; add pull-secret volume/mount
test/integration/pj-rehearse/master/ci-operator/jobs/super/duper/super-duper-cluster-profile-presubmits.yaml Update rehearsal fixtures: remove preset label; add pull-secret volume/mount
test/integration/pj-rehearse/master/ci-operator/jobs/super/duper/super-duper-ciop-cfg-change-presubmits.yaml Update rehearsal fixtures: remove preset label; add pull-secret volume/mount
test/integration/pj-rehearse/candidate/ci-operator/jobs/uses/observer/uses-observer-master-presubmits.yaml Update rehearsal fixtures: remove preset label; add pull-secret volume/mount
test/integration/pj-rehearse/candidate/ci-operator/jobs/super/trooper/super-trooper-master-presubmits.yaml Update rehearsal fixtures: remove preset label; add pull-secret volume/mount
test/integration/pj-rehearse/candidate/ci-operator/jobs/super/trooper/super-trooper-master-periodics.yaml Update rehearsal fixtures: remove preset label; add pull-secret volume/mount
test/integration/pj-rehearse/candidate/ci-operator/jobs/super/duper/super-duper-master-presubmits.yaml Update rehearsal fixtures: remove preset label; add pull-secret volume/mount
test/integration/pj-rehearse/candidate/ci-operator/jobs/super/duper/super-duper-cluster-profile-presubmits.yaml Update rehearsal fixtures: remove preset label; add pull-secret volume/mount
test/integration/pj-rehearse/candidate/ci-operator/jobs/super/duper/super-duper-ciop-cfg-change-presubmits.yaml Update rehearsal fixtures: remove preset label; add pull-secret volume/mount
test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-release-4.19-periodics.yaml Update generated prowgen output fixtures: add pull-secret volume/mount
test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-release-3.11-presubmits.yaml Update generated prowgen output fixtures: add pull-secret volume/mount
test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-release-3.11-postsubmits.yaml Update generated prowgen output fixtures: add pull-secret volume/mount
test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-master-removed-promotion-presubmits.yaml Update generated prowgen output fixtures: add pull-secret volume/mount
test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-master-postsubmits.yaml Update generated prowgen output fixtures: add pull-secret volume/mount
test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-master-periodics.yaml Update generated prowgen output fixtures: add pull-secret volume/mount
test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-job-release-periodics.yaml Update generated prowgen output fixtures: add pull-secret volume/mount
test/integration/ci-operator-prowgen/output/jobs/subdir/repo/subdir-repo-master-presubmits.yaml Update generated prowgen output fixtures: add pull-secret volume/mount
test/integration/ci-operator-prowgen/output/jobs/slack-report/duper/slack-report-duper-master-presubmits.yaml Update generated prowgen output fixtures: add pull-secret volume/mount
test/integration/ci-operator-prowgen/output/jobs/slack-report/duper/slack-report-duper-master-postsubmits.yaml Update generated prowgen output fixtures: add pull-secret volume/mount
test/integration/ci-operator-prowgen/output/jobs/slack-report/duper/slack-report-duper-master-periodics.yaml Update generated prowgen output fixtures: add pull-secret volume/mount
test/integration/ci-operator-prowgen/output/jobs/sharded/repo/sharded-repo-main-presubmits.yaml Update generated prowgen output fixtures: add pull-secret volume/mount
test/integration/ci-operator-prowgen/output/jobs/private/duper/private-duper-master-presubmits.yaml Update generated prowgen output fixtures: add pull-secret volume/mount
test/integration/ci-operator-prowgen/output/jobs/private/duper/private-duper-master-postsubmits.yaml Update generated prowgen output fixtures: add pull-secret volume/mount
test/integration/ci-operator-prowgen/output/jobs/private/duper/private-duper-master-periodics.yaml Update generated prowgen output fixtures: add pull-secret volume/mount
test/integration/ci-operator-prowgen/output/jobs/private-org/super/private-org-super-master-presubmits.yaml Update generated prowgen output fixtures: add pull-secret volume/mount
test/integration/ci-operator-prowgen/output/jobs/private-org/duper/private-org-duper-master-presubmits.yaml Update generated prowgen output fixtures: add pull-secret volume/mount
test/integration/ci-operator-prowgen/output/jobs/norehearsals/stuper/norehearsals-stuper-master-presubmits.yaml Update generated prowgen output fixtures: add pull-secret volume/mount
test/integration/ci-operator-prowgen/output/jobs/norehearsals/stuper/norehearsals-stuper-master-postsubmits.yaml Update generated prowgen output fixtures: add pull-secret volume/mount
test/integration/ci-operator-prowgen/output/jobs/norehearsals/duper/norehearsals-duper-master-presubmits.yaml Update generated prowgen output fixtures: add pull-secret volume/mount
test/integration/ci-operator-prowgen/output/jobs/norehearsals/duper/norehearsals-duper-master-postsubmits.yaml Update generated prowgen output fixtures: add pull-secret volume/mount
test/integration/ci-operator-prowgen/output/jobs/legacy/random-file/legacy-random-file-master-periodics.yaml Update legacy output fixture: add pull-secret volume/mount
test/integration/ci-operator-prowgen/output/jobs/legacy/branches-separate-files/legacy-branches-separate-files-master-presubmits.yaml Update legacy output fixture: add pull-secret volume/mount
test/integration/ci-operator-prowgen/output/jobs/legacy/branches-separate-files/legacy-branches-separate-files-branch-presubmits.yaml Update legacy output fixture: add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestTemplate_template_with_different_command.yaml Update prowgen fixture: add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestTemplate_template_with_command.yaml Update prowgen fixture: add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestTemplate_template_with_a_custom_test_image.yaml Update prowgen fixture: add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestTemplate_different_template_with_command.yaml Update prowgen fixture: add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestTargets_single_target.yaml Update prowgen fixture: add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestTargets_multiple_targets.yaml Update prowgen fixture: add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestTargetAdditionalSuffix_target_additional_suffix_is_added.yaml Update prowgen fixture: add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestSecrets_one_secret.yaml Update prowgen fixture: add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestSecrets_multiple_secrets.yaml Update prowgen fixture: add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestSecrets_empty_list_is_a_nop.yaml Update prowgen fixture: add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestReleaseRpms_envvar_additional_envvar_generated_for_template.yaml Update prowgen fixture: add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestReleaseLatest_add_release_latest.yaml Update prowgen fixture: add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestReleaseInitial_add_release_initial.yaml Update prowgen fixture: add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_private_job_without_cloning__including_podspec.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_private_job_with_cloning__including_podspec.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_test_binary_build_in_of_openshift_release_main__does_not_have_no_builds__label.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_not_a_latest_release_that_is_a_candidate__does_not_have_job_release__label.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_no_builds_outside_of_openshift_release_main__does_not_have_no_builds__label.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_no_builds_in_openshift_release_main__does_have_no_builds__label.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_latest_release_that_is_not_a_candidate__does_not_have_job_release__label.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_latest_release_that_is_a_candidate__has_job_release__label.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_image_builds_in_of_openshift_release_main__does_not_have_no_builds__label.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_configured_prefix.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_binary_build_in_openshift_release_main__does_not_have_no_builds__label.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_a_variant.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_a_variant__including_podspec.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_a_buildroot_in_of_openshift_release_main__does_not_have_no_builds__label.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_default_job_without_further_configuration.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_default_job_without_further_configuration__including_podspec.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestPromotion_secret_and_parameters_are_added.yaml Update prowgen fixture: add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_with_slack_reporter_config.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_test_with_CSI_enabled.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_timeout.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_timeout_and_no_decoration.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_secrets.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_secret.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_cluster.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_OpenshiftInstallerUPIClusterTestConfiguration.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_OpenshiftInstallerCustomTestImageClusterTestConfiguration.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_OpenshiftInstallerClusterTestConfiguration.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_OpenshiftAnsibleCustomClusterTestConfiguration.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_OpenshiftAnsibleClusterTestConfiguration.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test_with_releases.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test_with_CSI_enabled.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test_with_cluster_profile.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test_with_claim.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_literal_multi_stage_test.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_job_excluded_by_patterns_should_not_have_slack_reporter_config.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestNewCiOperatorPodSpecGenerator_parameter_is_added_for_variant.yaml Update prowgen fixture: add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestNewCiOperatorPodSpecGenerator_no_parameter_is_added_when_variant_is_empty.yaml Update prowgen fixture: add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestNewCiOperatorPodSpecGenerator_defaults_repo.yaml Update prowgen fixture: add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_WithLabel.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_TestName.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_Rehearsable.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_PathAlias.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_Cluster.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestLeaseClient_secret_is_added.yaml Update prowgen fixture: add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestInjectTestFrom_inject_coordinates_without_variant.yaml Update prowgen fixture: add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestInjectTestFrom_inject_coordinates_with_variant.yaml Update prowgen fixture: add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestGSMConfig_add_gsm_config_volume_and_mount.yaml Update prowgen fixture: add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestGitHubToken_podspec_for_private_repo_without_reusing_Prow_s_volume_with_credentials.yaml Update prowgen fixture: add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestGitHubToken_podspec_for_private_repo__reusing_Prow_s_volume_with_credentials.yaml Update prowgen fixture: add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_rehearsal_disabled.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_skip_if_only_changed.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_run_if_changed.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_false.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_false_and_pipeline_skip_if_only_changed.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_false_and_pipeline_run_if_changed.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_but_run_if_changed_set.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_but_pipeline_skip_if_only_changed_set.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_but_pipeline_run_if_changed_set.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_but_optional_true.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_for_standard_test.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_for_a_test_in_a_variant_config.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_optional_presubmit.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_capabilities_added.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_Uppercase_org__repo_and_branch.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_postsubmit_with_skip_if_only_changed.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_postsubmit_with_run_if_changed.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_postsubmit_with_capabilities.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_Lowercase_org_repo_and_branch.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_with_disabled_rehearsal.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_with_capabilities.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_using_minimum_interval.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_using_interval.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_for_standard_test.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_for_a_test_with_retry.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_for_a_test_in_a_variant_config.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_two_tests_and_nonempty_Images_so_two_test_presubmits_and_images_pre_postsubmits_are_generated_.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_two_tests_and_empty_Images_with_one_test_configured_as_a_postsubmit.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_two_tests_and_empty_Images_so_only_two_test_presubmits_are_generated.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_template_test.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_sharded_presubmit.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_promotion_postsubmit_and_periodic_.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_Promotion_configuration_causes_promote_job.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_Promotion_configuration_causes_promote_job_with_unique_targets.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_periodic_with_presubmit.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_periodic_with_capabilities.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_periodic_presubmit_with_capabilities.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_operator_section_without_index_creates_ci_index_my_bundle_presubmit_job.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_operator_section_creates_ci_index_presubmit_job.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_operator_section_creates_ci_index_my_bundle_presubmit_job.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_operator_section_creates_bundle_with_capabilities.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_no_Promotion_configuration_has_no_branch_job.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_multiarch_test_job.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_multiarch_postsubmit_images.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_kvm_label.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_images_job_is_configured_for_slack_reporting.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_disabled_rehearsals_at_repo_level.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_disabled_rehearsals_at_job_level.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_cluster_label_for_presubmit.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_cluster_label_for_postsubmit.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_cluster_label_for_periodic.yaml Update prowgen fixture: remove preset label; add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_rehearsable.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_path_alias.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_no_special_options.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_hidden_job_for_private_repos.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_expose_option_set_but_not_private.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_expose_job_for_private_repos_with_public_results.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_config_variant.yaml Update prowgen fixture: remove preset label
pkg/prowgen/testdata/zz_fixture_TestCustomHashInput_custom_hash_inputs_are_added.yaml Update prowgen fixture: add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestCustomHashInput_custom_hash_input_is_added.yaml Update prowgen fixture: add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestClaims_secret_is_added.yaml Update prowgen fixture: add pull-secret volume/mount
pkg/prowgen/testdata/zz_fixture_TestCIPullSecret_secret_is_added.yaml Update prowgen fixture: add pull-secret volume/mount
pkg/prowgen/podspec.go Implement explicit pull-secret volume/mount; update env var constant reference
pkg/prowgen/jobbase.go Remove default registry-pull preset label from generated JobBase
pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_override_tag.yaml Update controller test fixture: add pull-secret volume/mount
pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_override_initial_and_base_payload_pullspecs.yaml Update controller test fixture: add pull-secret volume/mount
pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_multiple_PRs_from_the_same_repository.yaml Update controller test fixture: add pull-secret volume/mount
pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_multiple_PRs_from_different_repositories.yaml Update controller test fixture: add pull-secret volume/mount
pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_multiple_case__one_of_the_prowjobs_already_exists.yaml Update controller test fixture: add pull-secret volume/mount
pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case.yaml Update controller test fixture: add pull-secret volume/mount
pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case_without_PR__testing_specified_base.yaml Update controller test fixture: add pull-secret volume/mount
pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case_with_variant.yaml Update controller test fixture: add pull-secret volume/mount
pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case_with_sharded_job.yaml Update controller test fixture: add pull-secret volume/mount
pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case_with_no_PRs_included__testing_determined_base.yaml Update controller test fixture: add pull-secret volume/mount
pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_aggregated_case.yaml Update controller test fixture: add pull-secret volume/mount
pkg/controller/ephemeralcluster/testdata/zz_fixture_pj_TestCreateProwJob_Inject_missing_PR_metadata.yaml Update controller test fixture: remove preset label; add pull-secret volume/mount
pkg/controller/ephemeralcluster/testdata/zz_fixture_pj_TestCreateProwJob_Hive_cluster_request_creates_a_ProwJob.yaml Update controller test fixture: remove preset label; add pull-secret volume/mount
pkg/controller/ephemeralcluster/testdata/zz_fixture_pj_TestCreateProwJob_An_EphemeralCluster_request_creates_a_ProwJob.yaml Update controller test fixture: remove preset label; add pull-secret volume/mount
pkg/api/constant.go Remove PresetRegistryPullLabel constant (no longer used)
hack/test-integration.sh Integration runner argument handling adjustment
cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestHandle_trigger_multiple_multi_pr_job_runs_with_diverse_additional_PRs.yaml Update plugin fixture: add pull-secret volume/mount
cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestHandle_trigger_a_single_multi_pr_job_run_with_additional_PR_from_the_same_repo.yaml Update plugin fixture: add pull-secret volume/mount
cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestHandle_trigger_a_single_multi_pr_job_run_with_additional_PR_from_a_different_repo.yaml Update plugin fixture: add pull-secret volume/mount
cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestGenerateProwJob_multiple_additional_PRs.yaml Update plugin fixture: add pull-secret volume/mount
cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestGenerateProwJob_additional_PR_from_the_same_repo.yaml Update plugin fixture: add pull-secret volume/mount
cmd/ci-operator-prowgen/testdata/zz_fixture_presubmit_TestFromCIOperatorConfigToProwYaml_Using_a_variant_config__one_test_and_images__one_existing_job._Expect_one_presubmit__pre_post_submit_images_jobs._Existing_job_should_not_be_changed..yaml Update prowgen cmd fixture: remove preset label; add pull-secret volume/mount
cmd/ci-operator-prowgen/testdata/zz_fixture_presubmit_TestFromCIOperatorConfigToProwYaml_one_test_and_images__no_previous_jobs._Expect_test_presubmit__pre_post_submit_images_jobs.yaml Update prowgen cmd fixture: remove preset label; add pull-secret volume/mount
cmd/ci-operator-prowgen/testdata/zz_fixture_presubmit_TestFromCIOperatorConfigToProwYaml_Input_is_YAML_and_it_is_correctly_processed.yaml Update prowgen cmd fixture: remove preset label; add pull-secret volume/mount
cmd/ci-operator-prowgen/testdata/zz_fixture_presubmit_TestFromCIOperatorConfigToProwYaml_Custom_test_timeout.yaml Update prowgen cmd fixture: remove preset label; add pull-secret volume/mount
cmd/ci-operator-prowgen/testdata/zz_fixture_postsubmit_TestFromCIOperatorConfigToProwYaml_Using_a_variant_config__one_test_and_images__one_existing_job._Expect_one_presubmit__pre_post_submit_images_jobs._Existing_job_should_not_be_changed..yaml Update prowgen cmd fixture: remove preset label; add pull-secret volume/mount
cmd/ci-operator-prowgen/testdata/zz_fixture_postsubmit_TestFromCIOperatorConfigToProwYaml_one_test_and_images__no_previous_jobs._Expect_test_presubmit__pre_post_submit_images_jobs.yaml Update prowgen cmd fixture: remove preset label; add pull-secret volume/mount
cmd/ci-operator-prowgen/testdata/zz_fixture_postsubmit_TestFromCIOperatorConfigToProwYaml_Input_is_YAML_and_it_is_correctly_processed.yaml Update prowgen cmd fixture: remove preset label; add pull-secret volume/mount
cmd/ci-operator-prowgen/testdata/zz_fixture_postsubmit_TestFromCIOperatorConfigToProwYaml_Custom_test_timeout.yaml Update prowgen cmd fixture: remove preset label; add pull-secret volume/mount

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread pkg/prowgen/podspec.go
Comment on lines +14 to 16
"github.com/openshift/ci-tools/pkg/api"
cioperatorapi "github.com/openshift/ci-tools/pkg/api"
"github.com/openshift/ci-tools/pkg/steps/utils"
Comment thread hack/test-integration.sh
fi
}
tests=( $(find_tests "${1:-.*}") )
tests=( $(find_tests ${1:-.*}) )
petr-muller added a commit to petr-muller/ci-tools that referenced this pull request Mar 19, 2026
Second attempt to do openshift#4994 after we had to revert openshift#5019

Move the pull-secret volume and volumeMount from the hardcoded
defaultPodSpec to a Prow preset.

This is a proof of concept for using compositional Prow presets to
deduplicate the ~28 lines of boilerplate volumes/mounts that are
inlined into every one of the 126K+ generated Prowjob definitions.

The preset is defined in openshift/release and matched via a new
label added to all prowgen-generated jobs. The --image-import-pull-secret
arg remains inline since presets cannot inject container args.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
petr-muller added a commit to petr-muller/ci-tools that referenced this pull request Mar 19, 2026
Second attempt to do openshift#4994 after we had to revert openshift#5019

Move the pull-secret volume and volumeMount from the hardcoded
defaultPodSpec to a Prow preset.

This is a proof of concept for using compositional Prow presets to
deduplicate the ~28 lines of boilerplate volumes/mounts that are
inlined into every one of the 126K+ generated Prowjob definitions.

The preset is defined in openshift/release and matched via a new
label added to all prowgen-generated jobs. The --image-import-pull-secret
arg remains inline since presets cannot inject container args.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
petr-muller added a commit to petr-muller/ci-tools that referenced this pull request Apr 19, 2026
Third attempt to do openshift#4994 after we had to revert openshift#5019

Move the pull-secret volume and volumeMount from the hardcoded
defaultPodSpec to a Prow preset.

This is a proof of concept for using compositional Prow presets to
deduplicate the ~28 lines of boilerplate volumes/mounts that are
inlined into every one of the 126K+ generated Prowjob definitions.

The preset is defined in openshift/release and matched via a new
label added to all prowgen-generated jobs. The --image-import-pull-secret
arg remains inline since presets cannot inject container args.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
petr-muller added a commit to petr-muller/ci-tools that referenced this pull request Apr 19, 2026
Third attempt to do openshift#4994 after we had to revert openshift#5019

Move the pull-secret volume and volumeMount from the hardcoded
defaultPodSpec to a Prow preset.

This is a proof of concept for using compositional Prow presets to
deduplicate the ~28 lines of boilerplate volumes/mounts that are
inlined into every one of the 126K+ generated Prowjob definitions.

The preset is defined in openshift/release and matched via a new
label added to all prowgen-generated jobs. The --image-import-pull-secret
arg remains inline since presets cannot inject container args.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
petr-muller added a commit to petr-muller/ci-tools that referenced this pull request Apr 23, 2026
Third attempt to do openshift#4994 after we had to revert openshift#5019

Move the pull-secret volume and volumeMount from the hardcoded
defaultPodSpec to a Prow preset.

This is a proof of concept for using compositional Prow presets to
deduplicate the ~28 lines of boilerplate volumes/mounts that are
inlined into every one of the 126K+ generated Prowjob definitions.

The preset is defined in openshift/release and matched via a new
label added to all prowgen-generated jobs. The --image-import-pull-secret
arg remains inline since presets cannot inject container args.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
petr-muller added a commit to petr-muller/ci-tools that referenced this pull request Apr 27, 2026
Third attempt to do openshift#4994 after we had to revert openshift#5019

Move the pull-secret volume and volumeMount from the hardcoded
defaultPodSpec to a Prow preset.

This is a proof of concept for using compositional Prow presets to
deduplicate the ~28 lines of boilerplate volumes/mounts that are
inlined into every one of the 126K+ generated Prowjob definitions.

The preset is defined in openshift/release and matched via a new
label added to all prowgen-generated jobs. The --image-import-pull-secret
arg remains inline since presets cannot inject container args.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
petr-muller added a commit to petr-muller/ci-tools that referenced this pull request May 1, 2026
Third attempt to do openshift#4994 after we had to revert openshift#5019

Move the pull-secret volume and volumeMount from the hardcoded
defaultPodSpec to a Prow preset.

This is a proof of concept for using compositional Prow presets to
deduplicate the ~28 lines of boilerplate volumes/mounts that are
inlined into every one of the 126K+ generated Prowjob definitions.

The preset is defined in openshift/release and matched via a new
label added to all prowgen-generated jobs. The --image-import-pull-secret
arg remains inline since presets cannot inject container args.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
petr-muller added a commit to petr-muller/ci-tools that referenced this pull request May 1, 2026
Third attempt to do openshift#4994 after we had to revert openshift#5019

Move the pull-secret volume and volumeMount from the hardcoded
defaultPodSpec to a Prow preset.

This is a proof of concept for using compositional Prow presets to
deduplicate the ~28 lines of boilerplate volumes/mounts that are
inlined into every one of the 126K+ generated Prowjob definitions.

The preset is defined in openshift/release and matched via a new
label added to all prowgen-generated jobs. The --image-import-pull-secret
arg remains inline since presets cannot inject container args.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants