diff --git a/cmd/ci-operator-prowgen/testdata/zz_fixture_postsubmit_TestFromCIOperatorConfigToProwYaml_Custom_test_timeout.yaml b/cmd/ci-operator-prowgen/testdata/zz_fixture_postsubmit_TestFromCIOperatorConfigToProwYaml_Custom_test_timeout.yaml index 4514191a878..5193c74ffae 100644 --- a/cmd/ci-operator-prowgen/testdata/zz_fixture_postsubmit_TestFromCIOperatorConfigToProwYaml_Custom_test_timeout.yaml +++ b/cmd/ci-operator-prowgen/testdata/zz_fixture_postsubmit_TestFromCIOperatorConfigToProwYaml_Custom_test_timeout.yaml @@ -29,6 +29,7 @@ postsubmits: labels: ci-operator.openshift.io/is-promotion: "true" ci.openshift.io/generator: prowgen + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-super-duper-branch-images spec: @@ -55,9 +56,6 @@ postsubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/push-secret name: push-secret readOnly: true @@ -69,9 +67,6 @@ postsubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: push-secret secret: secretName: registry-push-credentials-ci-central diff --git a/cmd/ci-operator-prowgen/testdata/zz_fixture_postsubmit_TestFromCIOperatorConfigToProwYaml_Input_is_YAML_and_it_is_correctly_processed.yaml b/cmd/ci-operator-prowgen/testdata/zz_fixture_postsubmit_TestFromCIOperatorConfigToProwYaml_Input_is_YAML_and_it_is_correctly_processed.yaml index 4514191a878..5193c74ffae 100644 --- a/cmd/ci-operator-prowgen/testdata/zz_fixture_postsubmit_TestFromCIOperatorConfigToProwYaml_Input_is_YAML_and_it_is_correctly_processed.yaml +++ b/cmd/ci-operator-prowgen/testdata/zz_fixture_postsubmit_TestFromCIOperatorConfigToProwYaml_Input_is_YAML_and_it_is_correctly_processed.yaml @@ -29,6 +29,7 @@ postsubmits: labels: ci-operator.openshift.io/is-promotion: "true" ci.openshift.io/generator: prowgen + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-super-duper-branch-images spec: @@ -55,9 +56,6 @@ postsubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/push-secret name: push-secret readOnly: true @@ -69,9 +67,6 @@ postsubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: push-secret secret: secretName: registry-push-credentials-ci-central diff --git a/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 b/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 index fba680a12c6..65f382d754b 100644 --- a/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 +++ b/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 @@ -32,6 +32,7 @@ postsubmits: ci-operator.openshift.io/is-promotion: "true" ci-operator.openshift.io/variant: rhel ci.openshift.io/generator: prowgen + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-super-duper-branch-rhel-images spec: @@ -59,9 +60,6 @@ postsubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/push-secret name: push-secret readOnly: true @@ -73,9 +71,6 @@ postsubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: push-secret secret: secretName: registry-push-credentials-ci-central diff --git a/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 b/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 index 31f6dbd2268..9d27a48ca7a 100644 --- a/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 +++ b/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 @@ -10,6 +10,7 @@ postsubmits: labels: ci-operator.openshift.io/is-promotion: "true" ci.openshift.io/generator: prowgen + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-super-duper-branch-images spec: @@ -36,9 +37,6 @@ postsubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/push-secret name: push-secret readOnly: true @@ -50,9 +48,6 @@ postsubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: push-secret secret: secretName: registry-push-credentials-ci-central diff --git a/cmd/ci-operator-prowgen/testdata/zz_fixture_presubmit_TestFromCIOperatorConfigToProwYaml_Custom_test_timeout.yaml b/cmd/ci-operator-prowgen/testdata/zz_fixture_presubmit_TestFromCIOperatorConfigToProwYaml_Custom_test_timeout.yaml index 8764b174420..e07909c3a91 100644 --- a/cmd/ci-operator-prowgen/testdata/zz_fixture_presubmit_TestFromCIOperatorConfigToProwYaml_Custom_test_timeout.yaml +++ b/cmd/ci-operator-prowgen/testdata/zz_fixture_presubmit_TestFromCIOperatorConfigToProwYaml_Custom_test_timeout.yaml @@ -12,6 +12,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-branch-images rerun_command: /test images spec: @@ -36,9 +37,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -47,9 +45,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -67,6 +62,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-branch-unit rerun_command: /test unit spec: @@ -103,9 +99,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -120,9 +113,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/cmd/ci-operator-prowgen/testdata/zz_fixture_presubmit_TestFromCIOperatorConfigToProwYaml_Input_is_YAML_and_it_is_correctly_processed.yaml b/cmd/ci-operator-prowgen/testdata/zz_fixture_presubmit_TestFromCIOperatorConfigToProwYaml_Input_is_YAML_and_it_is_correctly_processed.yaml index 1ff98f138a9..eadde1062df 100644 --- a/cmd/ci-operator-prowgen/testdata/zz_fixture_presubmit_TestFromCIOperatorConfigToProwYaml_Input_is_YAML_and_it_is_correctly_processed.yaml +++ b/cmd/ci-operator-prowgen/testdata/zz_fixture_presubmit_TestFromCIOperatorConfigToProwYaml_Input_is_YAML_and_it_is_correctly_processed.yaml @@ -12,6 +12,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-branch-images rerun_command: /test images spec: @@ -36,9 +37,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -47,9 +45,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -66,6 +61,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-branch-unit rerun_command: /test unit spec: @@ -98,9 +94,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -109,9 +102,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/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 b/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 index 626df831fd4..fa2c0bf0164 100644 --- a/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 +++ b/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 @@ -13,6 +13,7 @@ presubmits: ci-operator.openshift.io/variant: rhel ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-branch-rhel-images rerun_command: /test rhel-images spec: @@ -38,9 +39,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -49,9 +47,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -69,6 +64,7 @@ presubmits: ci-operator.openshift.io/variant: rhel ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-branch-rhel-unit rerun_command: /test rhel-unit spec: @@ -102,9 +98,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -113,9 +106,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/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 b/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 index 1ff98f138a9..eadde1062df 100644 --- a/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 +++ b/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 @@ -12,6 +12,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-branch-images rerun_command: /test images spec: @@ -36,9 +37,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -47,9 +45,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -66,6 +61,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-branch-unit rerun_command: /test unit spec: @@ -98,9 +94,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -109,9 +102,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestGenerateProwJob_additional_PR_from_the_same_repo.yaml b/cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestGenerateProwJob_additional_PR_from_the_same_repo.yaml index a62e11ce486..7207236a2d7 100644 --- a/cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestGenerateProwJob_additional_PR_from_the_same_repo.yaml +++ b/cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestGenerateProwJob_additional_PR_from_the_same_repo.yaml @@ -52,9 +52,6 @@ spec: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -63,9 +60,6 @@ spec: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestGenerateProwJob_multiple_additional_PRs.yaml b/cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestGenerateProwJob_multiple_additional_PRs.yaml index 6e4e40ee4ab..95c4769abd2 100644 --- a/cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestGenerateProwJob_multiple_additional_PRs.yaml +++ b/cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestGenerateProwJob_multiple_additional_PRs.yaml @@ -65,9 +65,6 @@ spec: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -76,9 +73,6 @@ spec: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestGenerateProwJob_sharded_test_looks_up_first_shard_in_dispatcher.yaml b/cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestGenerateProwJob_sharded_test_looks_up_first_shard_in_dispatcher.yaml index 3e41f8e3e1c..f76576ace3f 100644 --- a/cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestGenerateProwJob_sharded_test_looks_up_first_shard_in_dispatcher.yaml +++ b/cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestGenerateProwJob_sharded_test_looks_up_first_shard_in_dispatcher.yaml @@ -52,9 +52,6 @@ spec: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -63,9 +60,6 @@ spec: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestHandle_trigger_a_single_multi_pr_job_run_with_additional_PR_from_a_different_repo.yaml b/cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestHandle_trigger_a_single_multi_pr_job_run_with_additional_PR_from_a_different_repo.yaml index dfad9b02460..ed00e49560f 100644 --- a/cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestHandle_trigger_a_single_multi_pr_job_run_with_additional_PR_from_a_different_repo.yaml +++ b/cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestHandle_trigger_a_single_multi_pr_job_run_with_additional_PR_from_a_different_repo.yaml @@ -66,9 +66,6 @@ - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -77,9 +74,6 @@ - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestHandle_trigger_a_single_multi_pr_job_run_with_additional_PR_from_the_same_repo.yaml b/cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestHandle_trigger_a_single_multi_pr_job_run_with_additional_PR_from_the_same_repo.yaml index bdd6a310c92..07c42227fa1 100644 --- a/cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestHandle_trigger_a_single_multi_pr_job_run_with_additional_PR_from_the_same_repo.yaml +++ b/cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestHandle_trigger_a_single_multi_pr_job_run_with_additional_PR_from_the_same_repo.yaml @@ -53,9 +53,6 @@ - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -64,9 +61,6 @@ - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestHandle_trigger_multiple_multi_pr_job_runs_with_diverse_additional_PRs.yaml b/cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestHandle_trigger_multiple_multi_pr_job_runs_with_diverse_additional_PRs.yaml index b39d4bd17da..7e62764f2ab 100644 --- a/cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestHandle_trigger_multiple_multi_pr_job_runs_with_diverse_additional_PRs.yaml +++ b/cmd/multi-pr-prow-plugin/testdata/zz_fixture_TestHandle_trigger_multiple_multi_pr_job_runs_with_diverse_additional_PRs.yaml @@ -53,9 +53,6 @@ - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -64,9 +61,6 @@ - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -155,9 +149,6 @@ - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -166,9 +157,6 @@ - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -254,9 +242,6 @@ - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -265,9 +250,6 @@ - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/controller/ephemeralcluster/testdata/zz_fixture_pj_TestCreateProwJob_An_EphemeralCluster_request_creates_a_ProwJob.yaml b/pkg/controller/ephemeralcluster/testdata/zz_fixture_pj_TestCreateProwJob_An_EphemeralCluster_request_creates_a_ProwJob.yaml index 7e057178c5a..1ce7fe95dad 100644 --- a/pkg/controller/ephemeralcluster/testdata/zz_fixture_pj_TestCreateProwJob_An_EphemeralCluster_request_creates_a_ProwJob.yaml +++ b/pkg/controller/ephemeralcluster/testdata/zz_fixture_pj_TestCreateProwJob_An_EphemeralCluster_request_creates_a_ProwJob.yaml @@ -12,6 +12,7 @@ items: ci.openshift.io/ephemeral-cluster: ec created-by-prow: "true" pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" prow.k8s.io/context: "" prow.k8s.io/job: ephemeralcluster-ci-org-repo-branch-cluster-provisioning prow.k8s.io/type: periodic @@ -140,9 +141,6 @@ items: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -160,9 +158,6 @@ items: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/controller/ephemeralcluster/testdata/zz_fixture_pj_TestCreateProwJob_Hive_cluster_request_creates_a_ProwJob.yaml b/pkg/controller/ephemeralcluster/testdata/zz_fixture_pj_TestCreateProwJob_Hive_cluster_request_creates_a_ProwJob.yaml index 4366d30d2bf..1ad44c2f412 100644 --- a/pkg/controller/ephemeralcluster/testdata/zz_fixture_pj_TestCreateProwJob_Hive_cluster_request_creates_a_ProwJob.yaml +++ b/pkg/controller/ephemeralcluster/testdata/zz_fixture_pj_TestCreateProwJob_Hive_cluster_request_creates_a_ProwJob.yaml @@ -12,6 +12,7 @@ items: ci.openshift.io/ephemeral-cluster: ec created-by-prow: "true" pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" prow.k8s.io/context: "" prow.k8s.io/job: ephemeralcluster-ci-org-repo-branch-cluster-provisioning prow.k8s.io/type: periodic @@ -149,9 +150,6 @@ items: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -172,9 +170,6 @@ items: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_aggregated_case.yaml b/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_aggregated_case.yaml index aaa3960d213..3a88d5332e7 100644 --- a/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_aggregated_case.yaml +++ b/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_aggregated_case.yaml @@ -82,9 +82,6 @@ - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -99,9 +96,6 @@ - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -183,9 +177,6 @@ - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -194,9 +185,6 @@ - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -278,9 +266,6 @@ - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -289,9 +274,6 @@ - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case.yaml b/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case.yaml index cc28ebb872d..9bca310495e 100644 --- a/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case.yaml +++ b/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case.yaml @@ -69,9 +69,6 @@ - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -80,9 +77,6 @@ - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case_with_no_PRs_included__testing_determined_base.yaml b/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case_with_no_PRs_included__testing_determined_base.yaml index f250b4c8e1d..2690f9cbb85 100644 --- a/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case_with_no_PRs_included__testing_determined_base.yaml +++ b/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case_with_no_PRs_included__testing_determined_base.yaml @@ -62,9 +62,6 @@ - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -73,9 +70,6 @@ - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case_with_sharded_job.yaml b/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case_with_sharded_job.yaml index 240e3f08538..85aaeda5e33 100644 --- a/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case_with_sharded_job.yaml +++ b/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case_with_sharded_job.yaml @@ -70,9 +70,6 @@ - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -81,9 +78,6 @@ - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case_with_variant.yaml b/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case_with_variant.yaml index 9a3b2f3c7d5..32f34134bbb 100644 --- a/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case_with_variant.yaml +++ b/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case_with_variant.yaml @@ -69,9 +69,6 @@ - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -80,9 +77,6 @@ - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case_without_PR__testing_specified_base.yaml b/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case_without_PR__testing_specified_base.yaml index ddc574dee63..007b88089ab 100644 --- a/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case_without_PR__testing_specified_base.yaml +++ b/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_basic_case_without_PR__testing_specified_base.yaml @@ -63,9 +63,6 @@ - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -74,9 +71,6 @@ - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_multiple_PRs_from_different_repositories.yaml b/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_multiple_PRs_from_different_repositories.yaml index 577fa4c728d..84d41feb3b2 100644 --- a/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_multiple_PRs_from_different_repositories.yaml +++ b/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_multiple_PRs_from_different_repositories.yaml @@ -78,9 +78,6 @@ - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -89,9 +86,6 @@ - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_multiple_PRs_from_the_same_repository.yaml b/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_multiple_PRs_from_the_same_repository.yaml index 2d7ba2a53de..057c936848c 100644 --- a/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_multiple_PRs_from_the_same_repository.yaml +++ b/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_multiple_PRs_from_the_same_repository.yaml @@ -73,9 +73,6 @@ - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -84,9 +81,6 @@ - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_multiple_case__one_of_the_prowjobs_already_exists.yaml b/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_multiple_case__one_of_the_prowjobs_already_exists.yaml index 24e177289b5..431d75a5f55 100644 --- a/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_multiple_case__one_of_the_prowjobs_already_exists.yaml +++ b/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_multiple_case__one_of_the_prowjobs_already_exists.yaml @@ -93,9 +93,6 @@ - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -104,9 +101,6 @@ - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_override_initial_and_base_payload_pullspecs.yaml b/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_override_initial_and_base_payload_pullspecs.yaml index 2cfc4faa6ef..8d3b548c65c 100644 --- a/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_override_initial_and_base_payload_pullspecs.yaml +++ b/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_override_initial_and_base_payload_pullspecs.yaml @@ -73,9 +73,6 @@ - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -84,9 +81,6 @@ - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_override_tag.yaml b/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_override_tag.yaml index 5c491228206..2a6f024d7c7 100644 --- a/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_override_tag.yaml +++ b/pkg/controller/prpqr_reconciler/testdata/zz_fixture_prowjobs_TestReconcile_override_tag.yaml @@ -71,9 +71,6 @@ - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -82,9 +79,6 @@ - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/jobbase.go b/pkg/prowgen/jobbase.go index b30f9c59cf5..bdf17f6c2b1 100644 --- a/pkg/prowgen/jobbase.go +++ b/pkg/prowgen/jobbase.go @@ -60,8 +60,11 @@ func NewProwJobBaseBuilder(configSpec *cioperatorapi.ReleaseBuildConfiguration, b := &prowJobBaseBuilder{ PodSpec: podSpecGenerator, base: prowconfig.JobBase{ - Agent: string(prowv1.KubernetesAgent), - Labels: map[string]string{}, + Agent: string(prowv1.KubernetesAgent), + Labels: map[string]string{ + // TODO(muller): inline for now to avoid triggering all image build, move to a named constant later + "presets.ci.openshift.io/registry-pull": "true", + }, UtilityConfig: prowconfig.UtilityConfig{ Decorate: utilpointer.Bool(true), }, diff --git a/pkg/prowgen/podspec.go b/pkg/prowgen/podspec.go index 734ec9aff92..b9912dad1af 100644 --- a/pkg/prowgen/podspec.go +++ b/pkg/prowgen/podspec.go @@ -11,7 +11,6 @@ import ( "k8s.io/apimachinery/pkg/api/resource" kerrors "k8s.io/apimachinery/pkg/util/errors" - "github.com/openshift/ci-tools/pkg/api" cioperatorapi "github.com/openshift/ci-tools/pkg/api" "github.com/openshift/ci-tools/pkg/steps/multi_stage" "github.com/openshift/ci-tools/pkg/steps/utils" @@ -22,6 +21,7 @@ var defaultPodSpec = corev1.PodSpec{ Containers: []corev1.Container{ { Args: []string{ + // /etc/pull-secret mount provided by registry-pull preset in Prow config "--image-import-pull-secret=/etc/pull-secret/.dockerconfigjson", "--gcs-upload-secret=/secrets/gcs/service-account.json", "--report-credentials-file=/etc/report/credentials", @@ -33,11 +33,6 @@ var defaultPodSpec = corev1.PodSpec{ Requests: corev1.ResourceList{"cpu": *resource.NewMilliQuantity(10, resource.DecimalSI)}, }, VolumeMounts: []corev1.VolumeMount{ - { - Name: "pull-secret", - MountPath: "/etc/pull-secret", - ReadOnly: true, - }, { Name: "result-aggregator", MountPath: "/etc/report", @@ -57,12 +52,6 @@ var defaultPodSpec = corev1.PodSpec{ }, }, Volumes: []corev1.Volume{ - { - Name: "pull-secret", - VolumeSource: corev1.VolumeSource{ - Secret: &corev1.SecretVolumeSource{SecretName: cioperatorapi.RegistryPullCredentialsSecret}, - }, - }, { Name: "result-aggregator", VolumeSource: corev1.VolumeSource{ @@ -393,7 +382,7 @@ var ( } smallHTTPServerEnv = corev1.EnvVar{ - Name: api.CIOperatorHTTPServerIPEnvVarName, + Name: cioperatorapi.CIOperatorHTTPServerIPEnvVarName, ValueFrom: &corev1.EnvVarSource{ FieldRef: &corev1.ObjectFieldSelector{ FieldPath: "status.podIP", diff --git a/pkg/prowgen/testdata/zz_fixture_TestCIPullSecret_secret_is_added.yaml b/pkg/prowgen/testdata/zz_fixture_TestCIPullSecret_secret_is_added.yaml index f2118702f8f..cce2c707ab0 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestCIPullSecret_secret_is_added.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestCIPullSecret_secret_is_added.yaml @@ -22,9 +22,6 @@ containers: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -36,9 +33,6 @@ volumes: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher -- name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestClaims_secret_is_added.yaml b/pkg/prowgen/testdata/zz_fixture_TestClaims_secret_is_added.yaml index ee9f5da77de..664a3f44015 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestClaims_secret_is_added.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestClaims_secret_is_added.yaml @@ -26,9 +26,6 @@ containers: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -43,9 +40,6 @@ volumes: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher -- name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestCustomHashInput_custom_hash_input_is_added.yaml b/pkg/prowgen/testdata/zz_fixture_TestCustomHashInput_custom_hash_input_is_added.yaml index 98324d17ef0..31f41a75a87 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestCustomHashInput_custom_hash_input_is_added.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestCustomHashInput_custom_hash_input_is_added.yaml @@ -19,9 +19,6 @@ containers: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -30,9 +27,6 @@ volumes: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher -- name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestCustomHashInput_custom_hash_inputs_are_added.yaml b/pkg/prowgen/testdata/zz_fixture_TestCustomHashInput_custom_hash_inputs_are_added.yaml index d8a414e969e..31973e83ede 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestCustomHashInput_custom_hash_inputs_are_added.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestCustomHashInput_custom_hash_inputs_are_added.yaml @@ -20,9 +20,6 @@ containers: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -31,9 +28,6 @@ volumes: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher -- name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestGSMConfig_add_gsm_config_volume_and_mount.yaml b/pkg/prowgen/testdata/zz_fixture_TestGSMConfig_add_gsm_config_volume_and_mount.yaml index cf6db41d329..8b456ea44e3 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGSMConfig_add_gsm_config_volume_and_mount.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGSMConfig_add_gsm_config_volume_and_mount.yaml @@ -28,9 +28,6 @@ containers: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -48,9 +45,6 @@ volumes: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher -- name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_config_variant.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_config_variant.yaml index 762015fb9b8..b3e4a780423 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_config_variant.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_config_variant.yaml @@ -4,4 +4,5 @@ decoration_config: skip_cloning: true labels: ci-operator.openshift.io/variant: whatever + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-org-repo-branch-whatever-test diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_expose_job_for_private_repos_with_public_results.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_expose_job_for_private_repos_with_public_results.yaml index 8bdab171cd8..e4fd2d71067 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_expose_job_for_private_repos_with_public_results.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_expose_job_for_private_repos_with_public_results.yaml @@ -2,4 +2,6 @@ agent: kubernetes decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-org-repo-branch-test diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_expose_option_set_but_not_private.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_expose_option_set_but_not_private.yaml index 8bdab171cd8..e4fd2d71067 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_expose_option_set_but_not_private.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_expose_option_set_but_not_private.yaml @@ -2,4 +2,6 @@ agent: kubernetes decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-org-repo-branch-test diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_hidden_job_for_private_repos.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_hidden_job_for_private_repos.yaml index f2147218823..07ad0aff1db 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_hidden_job_for_private_repos.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_hidden_job_for_private_repos.yaml @@ -3,4 +3,6 @@ decorate: true decoration_config: skip_cloning: true hidden: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-org-repo-branch-test diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_no_special_options.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_no_special_options.yaml index 8bdab171cd8..e4fd2d71067 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_no_special_options.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_no_special_options.yaml @@ -2,4 +2,6 @@ agent: kubernetes decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-org-repo-branch-test diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_path_alias.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_path_alias.yaml index 4fe59b8eb56..078beffb4e7 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_path_alias.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_path_alias.yaml @@ -4,5 +4,6 @@ decoration_config: skip_cloning: true labels: ci-operator.openshift.io/variant: whatever + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-org-repo-branch-whatever-test path_alias: /some/where diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_rehearsable.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_rehearsable.yaml index d01731accee..9dbbe1ad84e 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_rehearsable.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobBase_rehearsable.yaml @@ -4,4 +4,5 @@ decoration_config: skip_cloning: true labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-org-repo-branch-test diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_Promotion_configuration_causes_promote_job.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_Promotion_configuration_causes_promote_job.yaml index 3113bcfc366..0e47563b9a8 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_Promotion_configuration_causes_promote_job.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_Promotion_configuration_causes_promote_job.yaml @@ -3,6 +3,7 @@ postsubmits: - always_run: true labels: ci-operator.openshift.io/is-promotion: "true" + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-organization-repository-branch-images presubmits: @@ -10,4 +11,5 @@ presubmits: - always_run: false labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-images diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_Promotion_configuration_causes_promote_job_with_unique_targets.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_Promotion_configuration_causes_promote_job_with_unique_targets.yaml index 1346fb097ef..67ac558db4c 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_Promotion_configuration_causes_promote_job_with_unique_targets.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_Promotion_configuration_causes_promote_job_with_unique_targets.yaml @@ -9,6 +9,7 @@ postsubmits: skip_cloning: true labels: ci-operator.openshift.io/is-promotion: "true" + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-organization-repository-branch-images spec: @@ -36,9 +37,6 @@ postsubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/push-secret name: push-secret readOnly: true @@ -50,9 +48,6 @@ postsubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: push-secret secret: secretName: registry-push-credentials-ci-central @@ -72,6 +67,7 @@ presubmits: skip_cloning: true labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-images rerun_command: /test images spec: @@ -97,9 +93,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -108,9 +101,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_ci_operator_config_overrides_prowgen_rehearsals.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_ci_operator_config_overrides_prowgen_rehearsals.yaml index 6ac0dc78d53..855f00178ff 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_ci_operator_config_overrides_prowgen_rehearsals.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_ci_operator_config_overrides_prowgen_rehearsals.yaml @@ -1,4 +1,6 @@ presubmits: organization/repository: - always_run: false + labels: + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-unit diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_ci_operator_config_takes_precedence_over_prowgen_config.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_ci_operator_config_takes_precedence_over_prowgen_config.yaml index 6ac0dc78d53..855f00178ff 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_ci_operator_config_takes_precedence_over_prowgen_config.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_ci_operator_config_takes_precedence_over_prowgen_config.yaml @@ -1,4 +1,6 @@ presubmits: organization/repository: - always_run: false + labels: + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-unit diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_cluster_label_for_periodic.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_cluster_label_for_periodic.yaml index a5a8861dd55..6747bdcf0a6 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_cluster_label_for_periodic.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_cluster_label_for_periodic.yaml @@ -12,6 +12,7 @@ periodics: labels: ci-operator.openshift.io/cluster: build01 pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: periodic-ci-organization-repository-branch-unit spec: containers: @@ -43,9 +44,6 @@ periodics: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -54,9 +52,6 @@ periodics: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_cluster_label_for_postsubmit.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_cluster_label_for_postsubmit.yaml index cb28406bf8d..af58f0d3099 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_cluster_label_for_postsubmit.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_cluster_label_for_postsubmit.yaml @@ -4,5 +4,6 @@ postsubmits: cluster: build01 labels: ci-operator.openshift.io/cluster: build01 + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-organization-repository-branch-unit diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_cluster_label_for_presubmit.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_cluster_label_for_presubmit.yaml index b8f61cafc78..8129c4ad290 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_cluster_label_for_presubmit.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_cluster_label_for_presubmit.yaml @@ -5,4 +5,5 @@ presubmits: labels: ci-operator.openshift.io/cluster: build01 pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-unit diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_disabled_rehearsals_at_job_level.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_disabled_rehearsals_at_job_level.yaml index 2ba80b5ab25..5ebf7f5732e 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_disabled_rehearsals_at_job_level.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_disabled_rehearsals_at_job_level.yaml @@ -8,6 +8,8 @@ periodics: - base_ref: branch org: organization repo: repository + labels: + presets.ci.openshift.io/registry-pull: "true" name: periodic-ci-organization-repository-branch-periodic-unit spec: containers: @@ -39,9 +41,6 @@ periodics: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -50,9 +49,6 @@ periodics: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -67,6 +63,7 @@ periodics: repo: repository labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: periodic-ci-organization-repository-branch-periodic-lint spec: containers: @@ -98,9 +95,6 @@ periodics: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -109,17 +103,17 @@ periodics: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator presubmits: organization/repository: - always_run: false + labels: + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-unit - always_run: false labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-lint diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_disabled_rehearsals_at_repo_level.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_disabled_rehearsals_at_repo_level.yaml index 51006b6d14d..97824df6b2d 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_disabled_rehearsals_at_repo_level.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_disabled_rehearsals_at_repo_level.yaml @@ -8,6 +8,8 @@ periodics: - base_ref: branch org: organization repo: repository + labels: + presets.ci.openshift.io/registry-pull: "true" name: periodic-ci-organization-repository-branch-periodic-unit spec: containers: @@ -39,9 +41,6 @@ periodics: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -50,13 +49,12 @@ periodics: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator presubmits: organization/repository: - always_run: false + labels: + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-unit diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_images_job_is_configured_for_slack_reporting.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_images_job_is_configured_for_slack_reporting.yaml index 8b5fa5136df..96a2bc1285f 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_images_job_is_configured_for_slack_reporting.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_images_job_is_configured_for_slack_reporting.yaml @@ -3,6 +3,7 @@ postsubmits: - always_run: true labels: ci-operator.openshift.io/is-promotion: "true" + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-organization-repository-branch-images reporter_config: @@ -16,6 +17,7 @@ presubmits: - always_run: false labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-images reporter_config: slack: diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_images_job_with_pipeline_skip_if_only_changed_propagated_to_presubmit_only.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_images_job_with_pipeline_skip_if_only_changed_propagated_to_presubmit_only.yaml index fc2417d5eda..3bc6499e8a9 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_images_job_with_pipeline_skip_if_only_changed_propagated_to_presubmit_only.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_images_job_with_pipeline_skip_if_only_changed_propagated_to_presubmit_only.yaml @@ -3,6 +3,7 @@ postsubmits: - always_run: true labels: ci-operator.openshift.io/is-promotion: "true" + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-organization-repository-branch-images presubmits: @@ -12,4 +13,5 @@ presubmits: pipeline_skip_if_only_changed: ^(docs/|.*\.md$) labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-images diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_images_job_with_run_if_changed_propagated_to_presubmit.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_images_job_with_run_if_changed_propagated_to_presubmit.yaml index ec442673f2b..1d343a6c6dd 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_images_job_with_run_if_changed_propagated_to_presubmit.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_images_job_with_run_if_changed_propagated_to_presubmit.yaml @@ -3,6 +3,7 @@ postsubmits: - always_run: true labels: ci-operator.openshift.io/is-promotion: "true" + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-organization-repository-branch-images presubmits: @@ -10,5 +11,6 @@ presubmits: - always_run: false labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-images run_if_changed: ^(Dockerfile|src/) diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_images_job_with_skip_if_only_changed_propagated_to_presubmit.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_images_job_with_skip_if_only_changed_propagated_to_presubmit.yaml index 58e81fe00b1..a1178f43beb 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_images_job_with_skip_if_only_changed_propagated_to_presubmit.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_images_job_with_skip_if_only_changed_propagated_to_presubmit.yaml @@ -3,6 +3,7 @@ postsubmits: - always_run: true labels: ci-operator.openshift.io/is-promotion: "true" + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-organization-repository-branch-images presubmits: @@ -10,5 +11,6 @@ presubmits: - always_run: false labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-images skip_if_only_changed: ^(docs/|.*\.md$) diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_kvm_label.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_kvm_label.yaml index 4b25f6b0549..7adfe024d89 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_kvm_label.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_kvm_label.yaml @@ -4,4 +4,5 @@ presubmits: labels: devices.kubevirt.io/kvm: "1" pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-unit diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_multiarch_postsubmit_images.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_multiarch_postsubmit_images.yaml index 90c5bb9aa48..623b5ab2065 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_multiarch_postsubmit_images.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_multiarch_postsubmit_images.yaml @@ -5,6 +5,7 @@ postsubmits: capability/arm64: arm64 capability/ppc64-le: ppc64-le ci-operator.openshift.io/is-promotion: "true" + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-organization-repository-branch-images presubmits: @@ -14,4 +15,5 @@ presubmits: capability/arm64: arm64 capability/ppc64-le: ppc64-le pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-images diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_multiarch_test_job.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_multiarch_test_job.yaml index ee2646fe202..30d942f75a2 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_multiarch_test_job.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_multiarch_test_job.yaml @@ -4,4 +4,5 @@ presubmits: labels: capability/arm64: arm64 pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-unit diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_no_Promotion_configuration_has_no_branch_job.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_no_Promotion_configuration_has_no_branch_job.yaml index 3266169a9c5..f1198d00fec 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_no_Promotion_configuration_has_no_branch_job.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_no_Promotion_configuration_has_no_branch_job.yaml @@ -3,4 +3,5 @@ presubmits: - always_run: false labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-images diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_operator_section_creates_bundle_with_capabilities.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_operator_section_creates_bundle_with_capabilities.yaml index 54e2ec31d2b..e8a95653b6f 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_operator_section_creates_bundle_with_capabilities.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_operator_section_creates_bundle_with_capabilities.yaml @@ -13,6 +13,7 @@ presubmits: capability/nested-kvm: nested-kvm capability/privileged: privileged pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-ci-index-my-bundle-caps rerun_command: /test ci-index-my-bundle-caps spec: @@ -37,9 +38,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -48,9 +46,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_operator_section_creates_ci_index_my_bundle_presubmit_job.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_operator_section_creates_ci_index_my_bundle_presubmit_job.yaml index 0f697b14e91..004cccca6d3 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_operator_section_creates_ci_index_my_bundle_presubmit_job.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_operator_section_creates_ci_index_my_bundle_presubmit_job.yaml @@ -11,6 +11,7 @@ presubmits: skip_cloning: true labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-ci-index-my-bundle rerun_command: /test ci-index-my-bundle spec: @@ -35,9 +36,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -46,9 +44,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_operator_section_creates_ci_index_presubmit_job.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_operator_section_creates_ci_index_presubmit_job.yaml index 8600c60ea40..89056976965 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_operator_section_creates_ci_index_presubmit_job.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_operator_section_creates_ci_index_presubmit_job.yaml @@ -3,4 +3,5 @@ presubmits: - always_run: false labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-ci-index diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_operator_section_without_index_creates_ci_index_my_bundle_presubmit_job.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_operator_section_without_index_creates_ci_index_my_bundle_presubmit_job.yaml index 612b1990c68..0d155eab217 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_operator_section_without_index_creates_ci_index_my_bundle_presubmit_job.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_operator_section_without_index_creates_ci_index_my_bundle_presubmit_job.yaml @@ -11,6 +11,7 @@ presubmits: skip_cloning: true labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-ci-bundle-my-bundle rerun_command: /test ci-bundle-my-bundle spec: @@ -35,9 +36,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -46,9 +44,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_per_test_disable_rehearsal_from_ci_operator_config.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_per_test_disable_rehearsal_from_ci_operator_config.yaml index 09e56e0fa78..163496f0367 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_per_test_disable_rehearsal_from_ci_operator_config.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_per_test_disable_rehearsal_from_ci_operator_config.yaml @@ -1,8 +1,11 @@ presubmits: organization/repository: - always_run: false + labels: + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-unit - always_run: false labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-lint diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_periodic_presubmit_with_capabilities.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_periodic_presubmit_with_capabilities.yaml index bfdd47e82b0..971e2bd4aab 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_periodic_presubmit_with_capabilities.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_periodic_presubmit_with_capabilities.yaml @@ -14,6 +14,7 @@ periodics: capability/rce: rce capability/sshd-bastion: sshd-bastion pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: periodic-ci-organization-repository-branch-unit spec: containers: @@ -45,9 +46,6 @@ periodics: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -56,9 +54,6 @@ periodics: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -71,4 +66,5 @@ presubmits: capability/rce: rce capability/sshd-bastion: sshd-bastion pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-unit diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_periodic_with_capabilities.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_periodic_with_capabilities.yaml index 8ecef492e03..2eae5206212 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_periodic_with_capabilities.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_periodic_with_capabilities.yaml @@ -11,6 +11,7 @@ periodics: labels: capability/intranet: intranet pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: periodic-ci-organization-repository-branch-unit spec: containers: @@ -42,9 +43,6 @@ periodics: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -53,9 +51,6 @@ periodics: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_periodic_with_max_concurrency_from_test_config.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_periodic_with_max_concurrency_from_test_config.yaml index 7700ef503a2..f6809ed9333 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_periodic_with_max_concurrency_from_test_config.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_periodic_with_max_concurrency_from_test_config.yaml @@ -10,6 +10,7 @@ periodics: repo: repository labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 3 name: periodic-ci-organization-repository-branch-derTest spec: @@ -42,9 +43,6 @@ periodics: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -53,9 +51,6 @@ periodics: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_periodic_with_presubmit.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_periodic_with_presubmit.yaml index 88683ec455f..540ad2ce4f5 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_periodic_with_presubmit.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_periodic_with_presubmit.yaml @@ -12,6 +12,7 @@ periodics: labels: ci-operator.openshift.io/cluster: build01 pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: periodic-ci-organization-repository-branch-unit spec: containers: @@ -43,9 +44,6 @@ periodics: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -54,9 +52,6 @@ periodics: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -67,4 +62,5 @@ presubmits: labels: ci-operator.openshift.io/cluster: build01 pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-unit diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_postsubmit_with_max_concurrency_from_test_config.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_postsubmit_with_max_concurrency_from_test_config.yaml index 814ca250c1e..fccd653739e 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_postsubmit_with_max_concurrency_from_test_config.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_postsubmit_with_max_concurrency_from_test_config.yaml @@ -1,6 +1,8 @@ postsubmits: organization/repository: - always_run: true + labels: + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 6 name: branch-ci-organization-repository-branch-leTest presubmits: @@ -8,4 +10,5 @@ presubmits: - always_run: false labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-derTest diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_promotion_postsubmit_and_periodic_.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_promotion_postsubmit_and_periodic_.yaml index d38db480bbc..32a53b9028e 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_promotion_postsubmit_and_periodic_.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_promotion_postsubmit_and_periodic_.yaml @@ -10,6 +10,7 @@ periodics: repo: repository labels: ci-operator.openshift.io/is-promotion: "true" + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: periodic-ci-organization-repository-branch-images spec: @@ -36,9 +37,6 @@ periodics: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/push-secret name: push-secret readOnly: true @@ -50,9 +48,6 @@ periodics: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: push-secret secret: secretName: registry-push-credentials-ci-central @@ -64,6 +59,7 @@ postsubmits: - always_run: true labels: ci-operator.openshift.io/is-promotion: "true" + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-organization-repository-branch-images presubmits: @@ -71,4 +67,5 @@ presubmits: - always_run: false labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-images diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_sharded_presubmit.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_sharded_presubmit.yaml index de7085db1b9..9606d5a657b 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_sharded_presubmit.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_sharded_presubmit.yaml @@ -3,12 +3,15 @@ presubmits: - always_run: false labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-unit-1of3 - always_run: false labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-unit-2of3 - always_run: false labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-unit-3of3 diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_two_tests_and_empty_Images_so_only_two_test_presubmits_are_generated.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_two_tests_and_empty_Images_so_only_two_test_presubmits_are_generated.yaml index c09ccdf0a77..5589991c4cf 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_two_tests_and_empty_Images_so_only_two_test_presubmits_are_generated.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_two_tests_and_empty_Images_so_only_two_test_presubmits_are_generated.yaml @@ -3,8 +3,10 @@ presubmits: - always_run: false labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-derTest - always_run: false labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-leTest diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_two_tests_and_empty_Images_with_one_test_configured_as_a_postsubmit.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_two_tests_and_empty_Images_with_one_test_configured_as_a_postsubmit.yaml index 641f30db326..ce8212e070a 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_two_tests_and_empty_Images_with_one_test_configured_as_a_postsubmit.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_two_tests_and_empty_Images_with_one_test_configured_as_a_postsubmit.yaml @@ -1,6 +1,8 @@ postsubmits: organization/repository: - always_run: true + labels: + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-organization-repository-branch-leTest presubmits: @@ -8,4 +10,5 @@ presubmits: - always_run: false labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-derTest diff --git a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_two_tests_and_nonempty_Images_so_two_test_presubmits_and_images_pre_postsubmits_are_generated_.yaml b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_two_tests_and_nonempty_Images_so_two_test_presubmits_and_images_pre_postsubmits_are_generated_.yaml index 5489a513682..b7a96e10a7a 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_two_tests_and_nonempty_Images_so_two_test_presubmits_and_images_pre_postsubmits_are_generated_.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGenerateJobs_two_tests_and_nonempty_Images_so_two_test_presubmits_and_images_pre_postsubmits_are_generated_.yaml @@ -3,6 +3,7 @@ postsubmits: - always_run: true labels: ci-operator.openshift.io/is-promotion: "true" + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-organization-repository-branch-images presubmits: @@ -10,12 +11,15 @@ presubmits: - always_run: false labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-derTest - always_run: false labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-leTest - always_run: false labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-organization-repository-branch-images diff --git a/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_for_a_test_in_a_variant_config.yaml b/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_for_a_test_in_a_variant_config.yaml index 7f90b483b5e..1a65a638f4a 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_for_a_test_in_a_variant_config.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_for_a_test_in_a_variant_config.yaml @@ -10,4 +10,5 @@ extra_refs: labels: ci-operator.openshift.io/variant: also pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: periodic-ci-org-repo-branch-also-testname diff --git a/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_for_a_test_with_retry.yaml b/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_for_a_test_with_retry.yaml index c48fbcf9fb7..bdcb5a9bcb8 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_for_a_test_with_retry.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_for_a_test_with_retry.yaml @@ -9,6 +9,7 @@ extra_refs: repo: repo labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: periodic-ci-org-repo-branch-testname retry: attempts: 2 diff --git a/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_for_standard_test.yaml b/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_for_standard_test.yaml index e1cab913ea1..040562d7063 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_for_standard_test.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_for_standard_test.yaml @@ -9,4 +9,5 @@ extra_refs: repo: repo labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: periodic-ci-org-repo-branch-testname diff --git a/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_using_interval.yaml b/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_using_interval.yaml index 844e5fe5f4e..517407fab06 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_using_interval.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_using_interval.yaml @@ -9,4 +9,5 @@ extra_refs: interval: 6h labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: periodic-ci-org-repo-branch-testname diff --git a/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_using_minimum_interval.yaml b/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_using_minimum_interval.yaml index 60d51dcc203..566e1b6f702 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_using_minimum_interval.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_using_minimum_interval.yaml @@ -8,5 +8,6 @@ extra_refs: repo: repo labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" minimum_interval: 4h name: periodic-ci-org-repo-branch-testname diff --git a/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_with_capabilities.yaml b/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_with_capabilities.yaml index c9aff784a85..f2cd130fe89 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_with_capabilities.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_with_capabilities.yaml @@ -13,4 +13,5 @@ labels: capability/rce: rce capability/sshd-bastion: sshd-bastion pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: periodic-ci-org-repo-branch-testname diff --git a/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_with_disabled_rehearsal.yaml b/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_with_disabled_rehearsal.yaml index 7fcba97f363..b5071346ba0 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_with_disabled_rehearsal.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_with_disabled_rehearsal.yaml @@ -7,4 +7,6 @@ extra_refs: - base_ref: branch org: org repo: repo +labels: + presets.ci.openshift.io/registry-pull: "true" name: periodic-ci-org-repo-branch-testname diff --git a/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_with_max_concurrency.yaml b/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_with_max_concurrency.yaml index 184e7a90158..7cfbf3ff05f 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_with_max_concurrency.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGeneratePeriodicForTest_periodic_with_max_concurrency.yaml @@ -9,5 +9,6 @@ extra_refs: repo: repo labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 3 name: periodic-ci-org-repo-branch-testname diff --git a/pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_Lowercase_org_repo_and_branch.yaml b/pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_Lowercase_org_repo_and_branch.yaml index 13a3544fc01..bcaf243502b 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_Lowercase_org_repo_and_branch.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_Lowercase_org_repo_and_branch.yaml @@ -5,4 +5,6 @@ branches: decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: branch-ci-organization-repository-branch-postsubmit diff --git a/pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_Uppercase_org__repo_and_branch.yaml b/pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_Uppercase_org__repo_and_branch.yaml index 8a859447e23..eeedfe528c5 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_Uppercase_org__repo_and_branch.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_Uppercase_org__repo_and_branch.yaml @@ -5,4 +5,6 @@ branches: decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: branch-ci-Organization-Repository-Branch-postsubmit diff --git a/pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_postsubmit_with_capabilities.yaml b/pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_postsubmit_with_capabilities.yaml index 8be0404b2f9..4f33a13df3d 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_postsubmit_with_capabilities.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_postsubmit_with_capabilities.yaml @@ -10,4 +10,5 @@ labels: capability/intranet: intranet capability/rce: rce capability/sshd-bastion: sshd-bastion + presets.ci.openshift.io/registry-pull: "true" name: branch-ci-organization-repository-branch-postsubmit diff --git a/pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_postsubmit_with_run_if_changed.yaml b/pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_postsubmit_with_run_if_changed.yaml index c3c86289a03..14c09f39d93 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_postsubmit_with_run_if_changed.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_postsubmit_with_run_if_changed.yaml @@ -5,5 +5,7 @@ branches: decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: branch-ci-organization-repository-branch-postsubmit run_if_changed: ^README.md$ diff --git a/pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_postsubmit_with_skip_if_only_changed.yaml b/pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_postsubmit_with_skip_if_only_changed.yaml index eb70b11d59a..abe75970d00 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_postsubmit_with_skip_if_only_changed.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGeneratePostSubmitForTest_postsubmit_with_skip_if_only_changed.yaml @@ -5,5 +5,7 @@ branches: decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: branch-ci-organization-repository-branch-postsubmit skip_if_only_changed: ^README.md$ diff --git a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_capabilities_added.yaml b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_capabilities_added.yaml index ca576f95830..cf01f45874f 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_capabilities_added.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_capabilities_added.yaml @@ -13,6 +13,7 @@ labels: capability/rce: rce capability/sshd-bastion: sshd-bastion pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-org-repo-branch-testname rerun_command: /test testname trigger: (?m)^/test( | .* )testname,?($|\s.*) diff --git a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_optional_presubmit.yaml b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_optional_presubmit.yaml index 23f6a6cae6c..9ef997eb0c3 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_optional_presubmit.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_optional_presubmit.yaml @@ -9,6 +9,7 @@ decoration_config: skip_cloning: true labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-org-repo-branch-testname optional: true rerun_command: /test testname diff --git a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_for_a_test_in_a_variant_config.yaml b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_for_a_test_in_a_variant_config.yaml index 0f4cd322288..559abf7b90d 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_for_a_test_in_a_variant_config.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_for_a_test_in_a_variant_config.yaml @@ -10,6 +10,7 @@ decoration_config: labels: ci-operator.openshift.io/variant: also pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-org-repo-branch-also-testname rerun_command: /test also-testname trigger: (?m)^/test( | .* )also-testname,?($|\s.*) diff --git a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_for_standard_test.yaml b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_for_standard_test.yaml index f2c07f281c1..c591f8494f4 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_for_standard_test.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_for_standard_test.yaml @@ -9,6 +9,7 @@ decoration_config: skip_cloning: true labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-org-repo-branch-testname rerun_command: /test testname trigger: (?m)^/test( | .* )testname,?($|\s.*) diff --git a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_but_optional_true.yaml b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_but_optional_true.yaml index d71e6754233..5a01bde2f1c 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_but_optional_true.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_but_optional_true.yaml @@ -9,6 +9,7 @@ decoration_config: skip_cloning: true labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-org-repo-branch-testname optional: true rerun_command: /test testname diff --git a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_but_pipeline_run_if_changed_set.yaml b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_but_pipeline_run_if_changed_set.yaml index e34d3881289..34e180c0ccd 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_but_pipeline_run_if_changed_set.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_but_pipeline_run_if_changed_set.yaml @@ -11,6 +11,7 @@ decoration_config: skip_cloning: true labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-org-repo-branch-testname rerun_command: /test testname trigger: (?m)^/test( | .* )testname,?($|\s.*) diff --git a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_but_pipeline_skip_if_only_changed_set.yaml b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_but_pipeline_skip_if_only_changed_set.yaml index 2796a9c61ee..53cc85d181d 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_but_pipeline_skip_if_only_changed_set.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_but_pipeline_skip_if_only_changed_set.yaml @@ -11,6 +11,7 @@ decoration_config: skip_cloning: true labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-org-repo-branch-testname rerun_command: /test testname trigger: (?m)^/test( | .* )testname,?($|\s.*) diff --git a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_but_run_if_changed_set.yaml b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_but_run_if_changed_set.yaml index 475e3399e3d..25b292c2758 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_but_run_if_changed_set.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_but_run_if_changed_set.yaml @@ -9,6 +9,7 @@ decoration_config: skip_cloning: true labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-org-repo-branch-testname rerun_command: /test testname run_if_changed: .* diff --git a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_false.yaml b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_false.yaml index 1bb08abe244..f87abc3b0c2 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_false.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_false.yaml @@ -9,6 +9,7 @@ decoration_config: skip_cloning: true labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-org-repo-branch-testname rerun_command: /test testname trigger: (?m)^/test( | .* )(testname|remaining-required),?($|\s.*) diff --git a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_false_and_pipeline_run_if_changed.yaml b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_false_and_pipeline_run_if_changed.yaml index e34d3881289..34e180c0ccd 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_false_and_pipeline_run_if_changed.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_false_and_pipeline_run_if_changed.yaml @@ -11,6 +11,7 @@ decoration_config: skip_cloning: true labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-org-repo-branch-testname rerun_command: /test testname trigger: (?m)^/test( | .* )testname,?($|\s.*) diff --git a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_false_and_pipeline_skip_if_only_changed.yaml b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_false_and_pipeline_skip_if_only_changed.yaml index 2796a9c61ee..53cc85d181d 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_false_and_pipeline_skip_if_only_changed.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_always_run_false_and_pipeline_skip_if_only_changed.yaml @@ -11,6 +11,7 @@ decoration_config: skip_cloning: true labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-org-repo-branch-testname rerun_command: /test testname trigger: (?m)^/test( | .* )testname,?($|\s.*) diff --git a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_max_concurrency.yaml b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_max_concurrency.yaml index b7f117722df..775fbcba816 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_max_concurrency.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_max_concurrency.yaml @@ -9,6 +9,7 @@ decoration_config: skip_cloning: true labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 4 name: pull-ci-org-repo-branch-testname rerun_command: /test testname diff --git a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_run_if_changed.yaml b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_run_if_changed.yaml index a8c522bb44e..00f5807a193 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_run_if_changed.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_run_if_changed.yaml @@ -9,6 +9,7 @@ decoration_config: skip_cloning: true labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-org-repo-branch-testname rerun_command: /test testname run_if_changed: ^README.md$ diff --git a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_skip_if_only_changed.yaml b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_skip_if_only_changed.yaml index fc53ae5ee2a..d0cc2f91e78 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_skip_if_only_changed.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_presubmit_with_skip_if_only_changed.yaml @@ -9,6 +9,7 @@ decoration_config: skip_cloning: true labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-org-repo-branch-testname rerun_command: /test testname skip_if_only_changed: ^README.md$ diff --git a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_rehearsal_disabled.yaml b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_rehearsal_disabled.yaml index d33fe79319d..999b8bbf8aa 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_rehearsal_disabled.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGeneratePresubmitForTest_rehearsal_disabled.yaml @@ -7,6 +7,8 @@ context: ci/prow/testname decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-org-repo-branch-testname rerun_command: /test testname trigger: (?m)^/test( | .* )testname,?($|\s.*) diff --git a/pkg/prowgen/testdata/zz_fixture_TestGitHubToken_podspec_for_private_repo__reusing_Prow_s_volume_with_credentials.yaml b/pkg/prowgen/testdata/zz_fixture_TestGitHubToken_podspec_for_private_repo__reusing_Prow_s_volume_with_credentials.yaml index 0f69859b8dd..eca0f78c757 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGitHubToken_podspec_for_private_repo__reusing_Prow_s_volume_with_credentials.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGitHubToken_podspec_for_private_repo__reusing_Prow_s_volume_with_credentials.yaml @@ -22,9 +22,6 @@ containers: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -33,9 +30,6 @@ volumes: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher -- name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestGitHubToken_podspec_for_private_repo_without_reusing_Prow_s_volume_with_credentials.yaml b/pkg/prowgen/testdata/zz_fixture_TestGitHubToken_podspec_for_private_repo_without_reusing_Prow_s_volume_with_credentials.yaml index af72842cf00..d994343c7ea 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestGitHubToken_podspec_for_private_repo_without_reusing_Prow_s_volume_with_credentials.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestGitHubToken_podspec_for_private_repo_without_reusing_Prow_s_volume_with_credentials.yaml @@ -22,9 +22,6 @@ containers: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -36,9 +33,6 @@ volumes: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher -- name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestInjectTestFrom_inject_coordinates_with_variant.yaml b/pkg/prowgen/testdata/zz_fixture_TestInjectTestFrom_inject_coordinates_with_variant.yaml index 40747854b59..974841e086a 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestInjectTestFrom_inject_coordinates_with_variant.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestInjectTestFrom_inject_coordinates_with_variant.yaml @@ -20,9 +20,6 @@ containers: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -31,9 +28,6 @@ volumes: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher -- name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestInjectTestFrom_inject_coordinates_without_variant.yaml b/pkg/prowgen/testdata/zz_fixture_TestInjectTestFrom_inject_coordinates_without_variant.yaml index f9857f7abac..e367e3c6f1b 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestInjectTestFrom_inject_coordinates_without_variant.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestInjectTestFrom_inject_coordinates_without_variant.yaml @@ -20,9 +20,6 @@ containers: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -31,9 +28,6 @@ volumes: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher -- name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestLeaseClient_secret_is_added.yaml b/pkg/prowgen/testdata/zz_fixture_TestLeaseClient_secret_is_added.yaml index bbae3f404bd..7d0b4c14eeb 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestLeaseClient_secret_is_added.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestLeaseClient_secret_is_added.yaml @@ -22,9 +22,6 @@ containers: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -39,9 +36,6 @@ volumes: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher -- name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_Cluster.yaml b/pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_Cluster.yaml index 2a760d4393e..b26d71ff753 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_Cluster.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_Cluster.yaml @@ -3,4 +3,6 @@ cluster: build99 decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: default-ci-org-repo-branch- diff --git a/pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_PathAlias.yaml b/pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_PathAlias.yaml index e9f5cfcb0c7..539f71bfec7 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_PathAlias.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_PathAlias.yaml @@ -2,5 +2,7 @@ agent: kubernetes decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: default-ci-org-repo-branch- path_alias: alias.path diff --git a/pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_Rehearsable.yaml b/pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_Rehearsable.yaml index 7d60f21b45b..b7a870b4857 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_Rehearsable.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_Rehearsable.yaml @@ -4,4 +4,5 @@ decoration_config: skip_cloning: true labels: pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: default-ci-org-repo-branch- diff --git a/pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_TestName.yaml b/pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_TestName.yaml index c577c93930c..5a07670bf45 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_TestName.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_TestName.yaml @@ -2,4 +2,6 @@ agent: kubernetes decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: default-ci-org-repo-branch-best-test diff --git a/pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_WithLabel.yaml b/pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_WithLabel.yaml index 1924ee6e46a..fbe2e30eab7 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_WithLabel.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestMiscellaneous_WithLabel.yaml @@ -4,4 +4,5 @@ decoration_config: skip_cloning: true labels: key: value + presets.ci.openshift.io/registry-pull: "true" name: default-ci-org-repo-branch- diff --git a/pkg/prowgen/testdata/zz_fixture_TestNewCiOperatorPodSpecGenerator_defaults_repo.yaml b/pkg/prowgen/testdata/zz_fixture_TestNewCiOperatorPodSpecGenerator_defaults_repo.yaml index 8dfd7b00e09..95564d7416b 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestNewCiOperatorPodSpecGenerator_defaults_repo.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestNewCiOperatorPodSpecGenerator_defaults_repo.yaml @@ -18,9 +18,6 @@ containers: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -29,9 +26,6 @@ volumes: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher -- name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestNewCiOperatorPodSpecGenerator_no_parameter_is_added_when_variant_is_empty.yaml b/pkg/prowgen/testdata/zz_fixture_TestNewCiOperatorPodSpecGenerator_no_parameter_is_added_when_variant_is_empty.yaml index 8dfd7b00e09..95564d7416b 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestNewCiOperatorPodSpecGenerator_no_parameter_is_added_when_variant_is_empty.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestNewCiOperatorPodSpecGenerator_no_parameter_is_added_when_variant_is_empty.yaml @@ -18,9 +18,6 @@ containers: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -29,9 +26,6 @@ volumes: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher -- name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestNewCiOperatorPodSpecGenerator_parameter_is_added_for_variant.yaml b/pkg/prowgen/testdata/zz_fixture_TestNewCiOperatorPodSpecGenerator_parameter_is_added_for_variant.yaml index ef9e8f2f1a1..1c7e802f788 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestNewCiOperatorPodSpecGenerator_parameter_is_added_for_variant.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestNewCiOperatorPodSpecGenerator_parameter_is_added_for_variant.yaml @@ -19,9 +19,6 @@ containers: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -30,9 +27,6 @@ volumes: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher -- name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_job_excluded_by_patterns_should_not_have_slack_reporter_config.yaml b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_job_excluded_by_patterns_should_not_have_slack_reporter_config.yaml index 40aff4aa323..d697e531f84 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_job_excluded_by_patterns_should_not_have_slack_reporter_config.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_job_excluded_by_patterns_should_not_have_slack_reporter_config.yaml @@ -2,6 +2,8 @@ agent: kubernetes decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: prefix-ci-o-r-b-unit-skip spec: containers: @@ -33,9 +35,6 @@ spec: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -44,9 +43,6 @@ spec: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_literal_multi_stage_test.yaml b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_literal_multi_stage_test.yaml index 841e4b2586f..37104348f72 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_literal_multi_stage_test.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_literal_multi_stage_test.yaml @@ -2,6 +2,8 @@ agent: kubernetes decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: prefix-ci-o-r-b-simple spec: containers: @@ -37,9 +39,6 @@ spec: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -54,9 +53,6 @@ spec: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test.yaml b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test.yaml index 841e4b2586f..37104348f72 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test.yaml @@ -2,6 +2,8 @@ agent: kubernetes decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: prefix-ci-o-r-b-simple spec: containers: @@ -37,9 +39,6 @@ spec: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -54,9 +53,6 @@ spec: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test_with_CSI_enabled.yaml b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test_with_CSI_enabled.yaml index 0e2826ce322..438fd8487a3 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test_with_CSI_enabled.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test_with_CSI_enabled.yaml @@ -2,6 +2,8 @@ agent: kubernetes decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: prefix-ci-o-r-b-simple spec: containers: @@ -47,9 +49,6 @@ spec: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -73,9 +72,6 @@ spec: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test_with_CSI_enabled_via_ci_operator_config.yaml b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test_with_CSI_enabled_via_ci_operator_config.yaml index 0e2826ce322..438fd8487a3 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test_with_CSI_enabled_via_ci_operator_config.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test_with_CSI_enabled_via_ci_operator_config.yaml @@ -2,6 +2,8 @@ agent: kubernetes decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: prefix-ci-o-r-b-simple spec: containers: @@ -47,9 +49,6 @@ spec: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -73,9 +72,6 @@ spec: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test_with_claim.yaml b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test_with_claim.yaml index 012846eb0f7..17f0f846f09 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test_with_claim.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test_with_claim.yaml @@ -2,6 +2,8 @@ agent: kubernetes decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: prefix-ci-o-r-b-simple spec: containers: @@ -45,9 +47,6 @@ spec: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -68,9 +67,6 @@ spec: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test_with_cluster_profile.yaml b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test_with_cluster_profile.yaml index 8624467f838..af909d5e900 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test_with_cluster_profile.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test_with_cluster_profile.yaml @@ -5,6 +5,7 @@ decoration_config: labels: ci-operator.openshift.io/cloud: alibabacloud ci-operator.openshift.io/cloud-cluster-profile: alibabacloud + presets.ci.openshift.io/registry-pull: "true" name: prefix-ci-o-r-b-simple spec: containers: @@ -40,9 +41,6 @@ spec: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -57,9 +55,6 @@ spec: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test_with_releases.yaml b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test_with_releases.yaml index 7280efca6a1..878c44ad989 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test_with_releases.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_multi_stage_test_with_releases.yaml @@ -2,6 +2,8 @@ agent: kubernetes decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: prefix-ci-o-r-b-simple spec: containers: @@ -41,9 +43,6 @@ spec: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -61,9 +60,6 @@ spec: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test.yaml b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test.yaml index 56082c6b449..6cc6db9fdee 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test.yaml @@ -2,6 +2,8 @@ agent: kubernetes decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: prefix-ci-o-r-b-simple spec: containers: @@ -33,9 +35,6 @@ spec: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -44,9 +43,6 @@ spec: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_cluster.yaml b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_cluster.yaml index 9bc936d132c..e3c905d42a1 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_cluster.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_cluster.yaml @@ -5,6 +5,7 @@ decoration_config: skip_cloning: true labels: ci-operator.openshift.io/cluster: build01 + presets.ci.openshift.io/registry-pull: "true" name: prefix-ci-o-r-b-simple spec: containers: @@ -36,9 +37,6 @@ spec: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -47,9 +45,6 @@ spec: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_secret.yaml b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_secret.yaml index b746434b83f..2398c82dc49 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_secret.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_secret.yaml @@ -2,6 +2,8 @@ agent: kubernetes decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: prefix-ci-o-r-b-simple spec: containers: @@ -34,9 +36,6 @@ spec: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -48,9 +47,6 @@ spec: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_secrets.yaml b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_secrets.yaml index 40e15bf09f6..6b5d051b1f7 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_secrets.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_secrets.yaml @@ -2,6 +2,8 @@ agent: kubernetes decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: prefix-ci-o-r-b-simple spec: containers: @@ -35,9 +37,6 @@ spec: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -52,9 +51,6 @@ spec: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_timeout.yaml b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_timeout.yaml index 242b42d0241..53dd90ad9a2 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_timeout.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_timeout.yaml @@ -3,6 +3,8 @@ decorate: true decoration_config: skip_cloning: true timeout: 1s +labels: + presets.ci.openshift.io/registry-pull: "true" name: prefix-ci-o-r-b-simple spec: containers: @@ -34,9 +36,6 @@ spec: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -45,9 +44,6 @@ spec: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_timeout_and_no_decoration.yaml b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_timeout_and_no_decoration.yaml index 0dc223f89e2..c84ce07bd2a 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_timeout_and_no_decoration.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_container_based_test_with_timeout_and_no_decoration.yaml @@ -2,6 +2,8 @@ agent: kubernetes decorate: true decoration_config: timeout: 1s +labels: + presets.ci.openshift.io/registry-pull: "true" name: prefix-ci-o-r-b-simple spec: containers: @@ -33,9 +35,6 @@ spec: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -44,9 +43,6 @@ spec: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_test_with_CSI_enabled.yaml b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_test_with_CSI_enabled.yaml index 56082c6b449..6cc6db9fdee 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_test_with_CSI_enabled.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_test_with_CSI_enabled.yaml @@ -2,6 +2,8 @@ agent: kubernetes decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: prefix-ci-o-r-b-simple spec: containers: @@ -33,9 +35,6 @@ spec: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -44,9 +43,6 @@ spec: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_with_slack_reporter_config.yaml b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_with_slack_reporter_config.yaml index aaa7c8cd975..eae61cf8ec9 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_with_slack_reporter_config.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestNewProwJobBaseBuilderForTest_simple_with_slack_reporter_config.yaml @@ -2,6 +2,8 @@ agent: kubernetes decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: prefix-ci-o-r-b-unit spec: containers: @@ -33,9 +35,6 @@ spec: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -44,9 +43,6 @@ spec: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestPromotion_secret_and_parameters_are_added.yaml b/pkg/prowgen/testdata/zz_fixture_TestPromotion_secret_and_parameters_are_added.yaml index 672763d7f0e..f0464a46bce 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestPromotion_secret_and_parameters_are_added.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestPromotion_secret_and_parameters_are_added.yaml @@ -20,9 +20,6 @@ containers: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/push-secret name: push-secret readOnly: true @@ -34,9 +31,6 @@ volumes: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher -- name: pull-secret - secret: - secretName: registry-pull-credentials - name: push-secret secret: secretName: registry-push-credentials-ci-central diff --git a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_default_job_without_further_configuration.yaml b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_default_job_without_further_configuration.yaml index 0ea0950127a..e8cab2ef8af 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_default_job_without_further_configuration.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_default_job_without_further_configuration.yaml @@ -2,4 +2,6 @@ agent: kubernetes decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: default-ci-org-repo-branch- diff --git a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_default_job_without_further_configuration__including_podspec.yaml b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_default_job_without_further_configuration__including_podspec.yaml index e8d4db39f9b..50617ce57ac 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_default_job_without_further_configuration__including_podspec.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_default_job_without_further_configuration__including_podspec.yaml @@ -2,6 +2,8 @@ agent: kubernetes decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: default-ci-org-repo-branch- spec: containers: @@ -24,9 +26,6 @@ spec: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -35,9 +34,6 @@ spec: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_a_buildroot_in_of_openshift_release_main__does_not_have_no_builds__label.yaml b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_a_buildroot_in_of_openshift_release_main__does_not_have_no_builds__label.yaml index 2dc0ec33db9..1753d3adf3f 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_a_buildroot_in_of_openshift_release_main__does_not_have_no_builds__label.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_a_buildroot_in_of_openshift_release_main__does_not_have_no_builds__label.yaml @@ -2,4 +2,6 @@ agent: kubernetes decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: default-ci-openshift-release-main- diff --git a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_a_variant.yaml b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_a_variant.yaml index dff187ceb3f..27ed5c583f5 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_a_variant.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_a_variant.yaml @@ -4,4 +4,5 @@ decoration_config: skip_cloning: true labels: ci-operator.openshift.io/variant: variant + presets.ci.openshift.io/registry-pull: "true" name: default-ci-vorg-vrepo-vbranch-variant- diff --git a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_a_variant__including_podspec.yaml b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_a_variant__including_podspec.yaml index 474e2327c3b..81b03936f07 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_a_variant__including_podspec.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_a_variant__including_podspec.yaml @@ -4,6 +4,7 @@ decoration_config: skip_cloning: true labels: ci-operator.openshift.io/variant: variant + presets.ci.openshift.io/registry-pull: "true" name: default-ci-vorg-vrepo-vbranch-variant- spec: containers: @@ -27,9 +28,6 @@ spec: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -38,9 +36,6 @@ spec: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_binary_build_in_openshift_release_main__does_not_have_no_builds__label.yaml b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_binary_build_in_openshift_release_main__does_not_have_no_builds__label.yaml index 2dc0ec33db9..1753d3adf3f 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_binary_build_in_openshift_release_main__does_not_have_no_builds__label.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_binary_build_in_openshift_release_main__does_not_have_no_builds__label.yaml @@ -2,4 +2,6 @@ agent: kubernetes decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: default-ci-openshift-release-main- diff --git a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_configured_prefix.yaml b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_configured_prefix.yaml index 329e23353cd..3806516cd11 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_configured_prefix.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_configured_prefix.yaml @@ -2,4 +2,6 @@ agent: kubernetes decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: prefix-ci-org-repo-branch- diff --git a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_image_builds_in_of_openshift_release_main__does_not_have_no_builds__label.yaml b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_image_builds_in_of_openshift_release_main__does_not_have_no_builds__label.yaml index 2dc0ec33db9..1753d3adf3f 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_image_builds_in_of_openshift_release_main__does_not_have_no_builds__label.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_image_builds_in_of_openshift_release_main__does_not_have_no_builds__label.yaml @@ -2,4 +2,6 @@ agent: kubernetes decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: default-ci-openshift-release-main- diff --git a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_latest_release_that_is_a_candidate__has_job_release__label.yaml b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_latest_release_that_is_a_candidate__has_job_release__label.yaml index 0a06bbdf88a..31f46cd21b5 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_latest_release_that_is_a_candidate__has_job_release__label.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_latest_release_that_is_a_candidate__has_job_release__label.yaml @@ -4,4 +4,5 @@ decoration_config: skip_cloning: true labels: job-release: THIS + presets.ci.openshift.io/registry-pull: "true" name: default-ci-org-repo-branch- diff --git a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_latest_release_that_is_not_a_candidate__does_not_have_job_release__label.yaml b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_latest_release_that_is_not_a_candidate__does_not_have_job_release__label.yaml index 0ea0950127a..e8cab2ef8af 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_latest_release_that_is_not_a_candidate__does_not_have_job_release__label.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_latest_release_that_is_not_a_candidate__does_not_have_job_release__label.yaml @@ -2,4 +2,6 @@ agent: kubernetes decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: default-ci-org-repo-branch- diff --git a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_no_builds_in_openshift_release_main__does_have_no_builds__label.yaml b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_no_builds_in_openshift_release_main__does_have_no_builds__label.yaml index b2e273dd558..e615f5adedb 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_no_builds_in_openshift_release_main__does_have_no_builds__label.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_no_builds_in_openshift_release_main__does_have_no_builds__label.yaml @@ -4,4 +4,5 @@ decoration_config: skip_cloning: true labels: ci.openshift.io/no-builds: "true" + presets.ci.openshift.io/registry-pull: "true" name: default-ci-openshift-release-main- diff --git a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_no_builds_outside_of_openshift_release_main__does_not_have_no_builds__label.yaml b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_no_builds_outside_of_openshift_release_main__does_not_have_no_builds__label.yaml index 0ea0950127a..e8cab2ef8af 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_no_builds_outside_of_openshift_release_main__does_not_have_no_builds__label.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_no_builds_outside_of_openshift_release_main__does_not_have_no_builds__label.yaml @@ -2,4 +2,6 @@ agent: kubernetes decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: default-ci-org-repo-branch- diff --git a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_not_a_latest_release_that_is_a_candidate__does_not_have_job_release__label.yaml b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_not_a_latest_release_that_is_a_candidate__does_not_have_job_release__label.yaml index 0ea0950127a..e8cab2ef8af 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_not_a_latest_release_that_is_a_candidate__does_not_have_job_release__label.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_not_a_latest_release_that_is_a_candidate__does_not_have_job_release__label.yaml @@ -2,4 +2,6 @@ agent: kubernetes decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: default-ci-org-repo-branch- diff --git a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_test_binary_build_in_of_openshift_release_main__does_not_have_no_builds__label.yaml b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_test_binary_build_in_of_openshift_release_main__does_not_have_no_builds__label.yaml index 2dc0ec33db9..1753d3adf3f 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_test_binary_build_in_of_openshift_release_main__does_not_have_no_builds__label.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_job_with_test_binary_build_in_of_openshift_release_main__does_not_have_no_builds__label.yaml @@ -2,4 +2,6 @@ agent: kubernetes decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: default-ci-openshift-release-main- diff --git a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_private_job_via_ci_operator_config.yaml b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_private_job_via_ci_operator_config.yaml index 9e8a879aca7..8e7138318a2 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_private_job_via_ci_operator_config.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_private_job_via_ci_operator_config.yaml @@ -3,6 +3,8 @@ decorate: true decoration_config: skip_cloning: true hidden: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: default-ci-vorg-vrepo-vbranch- spec: containers: @@ -29,9 +31,6 @@ spec: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -43,9 +42,6 @@ spec: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_private_job_with_cloning__including_podspec.yaml b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_private_job_with_cloning__including_podspec.yaml index a3d0eb91515..c2847526c93 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_private_job_with_cloning__including_podspec.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_private_job_with_cloning__including_podspec.yaml @@ -5,6 +5,8 @@ decoration_config: key: oauth name: github-credentials-openshift-ci-robot-private-git-cloner hidden: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: default-ci-vorg-vrepo-vbranch- spec: containers: @@ -31,9 +33,6 @@ spec: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -42,9 +41,6 @@ spec: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_private_job_with_expose_via_ci_operator_config.yaml b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_private_job_with_expose_via_ci_operator_config.yaml index c160966fbc1..3b927b1d83f 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_private_job_with_expose_via_ci_operator_config.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_private_job_with_expose_via_ci_operator_config.yaml @@ -2,6 +2,8 @@ agent: kubernetes decorate: true decoration_config: skip_cloning: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: default-ci-vorg-vrepo-vbranch- spec: containers: @@ -28,9 +30,6 @@ spec: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -42,9 +41,6 @@ spec: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_private_job_without_cloning__including_podspec.yaml b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_private_job_without_cloning__including_podspec.yaml index 9e8a879aca7..8e7138318a2 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_private_job_without_cloning__including_podspec.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestProwJobBaseBuilder_private_job_without_cloning__including_podspec.yaml @@ -3,6 +3,8 @@ decorate: true decoration_config: skip_cloning: true hidden: true +labels: + presets.ci.openshift.io/registry-pull: "true" name: default-ci-vorg-vrepo-vbranch- spec: containers: @@ -29,9 +31,6 @@ spec: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -43,9 +42,6 @@ spec: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestReleaseInitial_add_release_initial.yaml b/pkg/prowgen/testdata/zz_fixture_TestReleaseInitial_add_release_initial.yaml index 51d87a48638..041d7839207 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestReleaseInitial_add_release_initial.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestReleaseInitial_add_release_initial.yaml @@ -22,9 +22,6 @@ containers: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -33,9 +30,6 @@ volumes: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher -- name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestReleaseLatest_add_release_latest.yaml b/pkg/prowgen/testdata/zz_fixture_TestReleaseLatest_add_release_latest.yaml index 4bb1d2c0805..fac70e19131 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestReleaseLatest_add_release_latest.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestReleaseLatest_add_release_latest.yaml @@ -22,9 +22,6 @@ containers: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -33,9 +30,6 @@ volumes: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher -- name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestReleaseRpms_envvar_generated_for_non_origin_repo.yaml b/pkg/prowgen/testdata/zz_fixture_TestReleaseRpms_envvar_generated_for_non_origin_repo.yaml index 125fbe3c11e..39016277775 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestReleaseRpms_envvar_generated_for_non_origin_repo.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestReleaseRpms_envvar_generated_for_non_origin_repo.yaml @@ -22,9 +22,6 @@ containers: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -33,9 +30,6 @@ volumes: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher -- name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestSecrets_empty_list_is_a_nop.yaml b/pkg/prowgen/testdata/zz_fixture_TestSecrets_empty_list_is_a_nop.yaml index 8dfd7b00e09..95564d7416b 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestSecrets_empty_list_is_a_nop.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestSecrets_empty_list_is_a_nop.yaml @@ -18,9 +18,6 @@ containers: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -29,9 +26,6 @@ volumes: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher -- name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestSecrets_multiple_secrets.yaml b/pkg/prowgen/testdata/zz_fixture_TestSecrets_multiple_secrets.yaml index b969749a7f9..34c756a9ad8 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestSecrets_multiple_secrets.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestSecrets_multiple_secrets.yaml @@ -23,9 +23,6 @@ containers: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -40,9 +37,6 @@ volumes: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher -- name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestSecrets_one_secret.yaml b/pkg/prowgen/testdata/zz_fixture_TestSecrets_one_secret.yaml index fbbb477190d..6f14384f4be 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestSecrets_one_secret.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestSecrets_one_secret.yaml @@ -19,9 +19,6 @@ containers: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -33,9 +30,6 @@ volumes: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher -- name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestTargetAdditionalSuffix_target_additional_suffix_is_added.yaml b/pkg/prowgen/testdata/zz_fixture_TestTargetAdditionalSuffix_target_additional_suffix_is_added.yaml index a2711fe209c..9bb7dc1dde8 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestTargetAdditionalSuffix_target_additional_suffix_is_added.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestTargetAdditionalSuffix_target_additional_suffix_is_added.yaml @@ -19,9 +19,6 @@ containers: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -30,9 +27,6 @@ volumes: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher -- name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestTargets_multiple_targets.yaml b/pkg/prowgen/testdata/zz_fixture_TestTargets_multiple_targets.yaml index 692829e8800..2fc0e218eaf 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestTargets_multiple_targets.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestTargets_multiple_targets.yaml @@ -20,9 +20,6 @@ containers: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -31,9 +28,6 @@ volumes: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher -- name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/pkg/prowgen/testdata/zz_fixture_TestTargets_single_target.yaml b/pkg/prowgen/testdata/zz_fixture_TestTargets_single_target.yaml index 9fa6564cfac..3d58dd4b832 100644 --- a/pkg/prowgen/testdata/zz_fixture_TestTargets_single_target.yaml +++ b/pkg/prowgen/testdata/zz_fixture_TestTargets_single_target.yaml @@ -19,9 +19,6 @@ containers: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -30,9 +27,6 @@ volumes: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher -- name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/ci-operator-prowgen/output/jobs/legacy/branches-separate-files/legacy-branches-separate-files-branch-presubmits.yaml b/test/integration/ci-operator-prowgen/output/jobs/legacy/branches-separate-files/legacy-branches-separate-files-branch-presubmits.yaml index 30fd7f05b0c..8b118c8e006 100644 --- a/test/integration/ci-operator-prowgen/output/jobs/legacy/branches-separate-files/legacy-branches-separate-files-branch-presubmits.yaml +++ b/test/integration/ci-operator-prowgen/output/jobs/legacy/branches-separate-files/legacy-branches-separate-files-branch-presubmits.yaml @@ -12,6 +12,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-legacy-branches-separate-files-branch-generated rerun_command: /test generated spec: @@ -44,9 +45,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -55,9 +53,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/ci-operator-prowgen/output/jobs/legacy/branches-separate-files/legacy-branches-separate-files-master-presubmits.yaml b/test/integration/ci-operator-prowgen/output/jobs/legacy/branches-separate-files/legacy-branches-separate-files-master-presubmits.yaml index af5f49b48dc..340d8f0d168 100644 --- a/test/integration/ci-operator-prowgen/output/jobs/legacy/branches-separate-files/legacy-branches-separate-files-master-presubmits.yaml +++ b/test/integration/ci-operator-prowgen/output/jobs/legacy/branches-separate-files/legacy-branches-separate-files-master-presubmits.yaml @@ -12,6 +12,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-legacy-branches-separate-files-master-generated rerun_command: /test generated spec: @@ -44,9 +45,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -55,9 +53,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/ci-operator-prowgen/output/jobs/legacy/random-file/legacy-random-file-master-periodics.yaml b/test/integration/ci-operator-prowgen/output/jobs/legacy/random-file/legacy-random-file-master-periodics.yaml index ca0faeb4822..6d9f59b3f57 100644 --- a/test/integration/ci-operator-prowgen/output/jobs/legacy/random-file/legacy-random-file-master-periodics.yaml +++ b/test/integration/ci-operator-prowgen/output/jobs/legacy/random-file/legacy-random-file-master-periodics.yaml @@ -11,6 +11,7 @@ periodics: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: periodic-ci-legacy-random-file-master-generated spec: containers: @@ -42,9 +43,6 @@ periodics: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -53,9 +51,6 @@ periodics: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/ci-operator-prowgen/output/jobs/norehearsals/duper/norehearsals-duper-master-postsubmits.yaml b/test/integration/ci-operator-prowgen/output/jobs/norehearsals/duper/norehearsals-duper-master-postsubmits.yaml index c60d068f6f1..703c7c6c5cb 100644 --- a/test/integration/ci-operator-prowgen/output/jobs/norehearsals/duper/norehearsals-duper-master-postsubmits.yaml +++ b/test/integration/ci-operator-prowgen/output/jobs/norehearsals/duper/norehearsals-duper-master-postsubmits.yaml @@ -9,6 +9,7 @@ postsubmits: skip_cloning: true labels: ci.openshift.io/generator: prowgen + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-norehearsals-duper-master-upload-results spec: @@ -41,9 +42,6 @@ postsubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -52,9 +50,6 @@ postsubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/ci-operator-prowgen/output/jobs/norehearsals/duper/norehearsals-duper-master-presubmits.yaml b/test/integration/ci-operator-prowgen/output/jobs/norehearsals/duper/norehearsals-duper-master-presubmits.yaml index 1cde2830eed..992762c9580 100644 --- a/test/integration/ci-operator-prowgen/output/jobs/norehearsals/duper/norehearsals-duper-master-presubmits.yaml +++ b/test/integration/ci-operator-prowgen/output/jobs/norehearsals/duper/norehearsals-duper-master-presubmits.yaml @@ -11,6 +11,7 @@ presubmits: skip_cloning: true labels: ci.openshift.io/generator: prowgen + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-norehearsals-duper-master-lint rerun_command: /test lint spec: @@ -43,9 +44,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -54,9 +52,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -72,6 +67,7 @@ presubmits: skip_cloning: true labels: ci.openshift.io/generator: prowgen + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-norehearsals-duper-master-unit rerun_command: /test unit spec: @@ -104,9 +100,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -115,9 +108,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/ci-operator-prowgen/output/jobs/norehearsals/stuper/norehearsals-stuper-master-postsubmits.yaml b/test/integration/ci-operator-prowgen/output/jobs/norehearsals/stuper/norehearsals-stuper-master-postsubmits.yaml index a90f72b7071..c549de83e36 100644 --- a/test/integration/ci-operator-prowgen/output/jobs/norehearsals/stuper/norehearsals-stuper-master-postsubmits.yaml +++ b/test/integration/ci-operator-prowgen/output/jobs/norehearsals/stuper/norehearsals-stuper-master-postsubmits.yaml @@ -9,6 +9,7 @@ postsubmits: skip_cloning: true labels: ci.openshift.io/generator: prowgen + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-norehearsals-stuper-master-upload-results spec: @@ -41,9 +42,6 @@ postsubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -52,9 +50,6 @@ postsubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/ci-operator-prowgen/output/jobs/norehearsals/stuper/norehearsals-stuper-master-presubmits.yaml b/test/integration/ci-operator-prowgen/output/jobs/norehearsals/stuper/norehearsals-stuper-master-presubmits.yaml index a04d3c5ebd8..86e85d5a316 100644 --- a/test/integration/ci-operator-prowgen/output/jobs/norehearsals/stuper/norehearsals-stuper-master-presubmits.yaml +++ b/test/integration/ci-operator-prowgen/output/jobs/norehearsals/stuper/norehearsals-stuper-master-presubmits.yaml @@ -12,6 +12,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-norehearsals-stuper-master-lint rerun_command: /test lint spec: @@ -44,9 +45,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -55,9 +53,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -73,6 +68,7 @@ presubmits: skip_cloning: true labels: ci.openshift.io/generator: prowgen + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-norehearsals-stuper-master-unit rerun_command: /test unit spec: @@ -105,9 +101,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -116,9 +109,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/ci-operator-prowgen/output/jobs/private-org/duper/private-org-duper-master-presubmits.yaml b/test/integration/ci-operator-prowgen/output/jobs/private-org/duper/private-org-duper-master-presubmits.yaml index 6084f95378d..e3ad81f727c 100644 --- a/test/integration/ci-operator-prowgen/output/jobs/private-org/duper/private-org-duper-master-presubmits.yaml +++ b/test/integration/ci-operator-prowgen/output/jobs/private-org/duper/private-org-duper-master-presubmits.yaml @@ -13,6 +13,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-private-org-duper-master-unit rerun_command: /test unit spec: @@ -49,9 +50,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -63,9 +61,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/ci-operator-prowgen/output/jobs/private-org/super/private-org-super-master-presubmits.yaml b/test/integration/ci-operator-prowgen/output/jobs/private-org/super/private-org-super-master-presubmits.yaml index f311654bbdd..d399b18a601 100644 --- a/test/integration/ci-operator-prowgen/output/jobs/private-org/super/private-org-super-master-presubmits.yaml +++ b/test/integration/ci-operator-prowgen/output/jobs/private-org/super/private-org-super-master-presubmits.yaml @@ -15,6 +15,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-private-org-super-master-unit rerun_command: /test unit spec: @@ -51,9 +52,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -62,9 +60,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/ci-operator-prowgen/output/jobs/private/duper/private-duper-master-periodics.yaml b/test/integration/ci-operator-prowgen/output/jobs/private/duper/private-duper-master-periodics.yaml index 3889042cc12..699435069dd 100644 --- a/test/integration/ci-operator-prowgen/output/jobs/private/duper/private-duper-master-periodics.yaml +++ b/test/integration/ci-operator-prowgen/output/jobs/private/duper/private-duper-master-periodics.yaml @@ -12,6 +12,7 @@ periodics: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: periodic-ci-private-duper-master-e2e-nightly spec: containers: @@ -47,9 +48,6 @@ periodics: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -61,9 +59,6 @@ periodics: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/ci-operator-prowgen/output/jobs/private/duper/private-duper-master-postsubmits.yaml b/test/integration/ci-operator-prowgen/output/jobs/private/duper/private-duper-master-postsubmits.yaml index 2e4eb256199..5e2b98aff34 100644 --- a/test/integration/ci-operator-prowgen/output/jobs/private/duper/private-duper-master-postsubmits.yaml +++ b/test/integration/ci-operator-prowgen/output/jobs/private/duper/private-duper-master-postsubmits.yaml @@ -11,6 +11,7 @@ postsubmits: labels: ci-operator.openshift.io/is-promotion: "true" ci.openshift.io/generator: prowgen + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-private-duper-master-images spec: @@ -41,9 +42,6 @@ postsubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/push-secret name: push-secret readOnly: true @@ -58,9 +56,6 @@ postsubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: push-secret secret: secretName: registry-push-credentials-ci-central diff --git a/test/integration/ci-operator-prowgen/output/jobs/private/duper/private-duper-master-presubmits.yaml b/test/integration/ci-operator-prowgen/output/jobs/private/duper/private-duper-master-presubmits.yaml index 7bddf5adda3..4c42ac5b850 100644 --- a/test/integration/ci-operator-prowgen/output/jobs/private/duper/private-duper-master-presubmits.yaml +++ b/test/integration/ci-operator-prowgen/output/jobs/private/duper/private-duper-master-presubmits.yaml @@ -13,6 +13,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-private-duper-master-e2e rerun_command: /test e2e spec: @@ -49,9 +50,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -63,9 +61,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -83,6 +78,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-private-duper-master-images rerun_command: /test images spec: @@ -112,9 +108,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -126,9 +119,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -146,6 +136,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-private-duper-master-unit rerun_command: /test unit spec: @@ -182,9 +173,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -196,9 +184,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/ci-operator-prowgen/output/jobs/sharded/repo/sharded-repo-main-presubmits.yaml b/test/integration/ci-operator-prowgen/output/jobs/sharded/repo/sharded-repo-main-presubmits.yaml index c47d502a722..3e7361586e8 100644 --- a/test/integration/ci-operator-prowgen/output/jobs/sharded/repo/sharded-repo-main-presubmits.yaml +++ b/test/integration/ci-operator-prowgen/output/jobs/sharded/repo/sharded-repo-main-presubmits.yaml @@ -12,6 +12,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-sharded-repo-main-e2e-test-1of3 rerun_command: /test e2e-test-1of3 spec: @@ -49,9 +50,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -66,9 +64,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -85,6 +80,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-sharded-repo-main-e2e-test-2of3 rerun_command: /test e2e-test-2of3 spec: @@ -122,9 +118,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -139,9 +132,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -158,6 +148,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-sharded-repo-main-e2e-test-3of3 rerun_command: /test e2e-test-3of3 spec: @@ -195,9 +186,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -212,9 +200,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/ci-operator-prowgen/output/jobs/slack-report/duper/slack-report-duper-master-periodics.yaml b/test/integration/ci-operator-prowgen/output/jobs/slack-report/duper/slack-report-duper-master-periodics.yaml index d2b749d7b91..ed65faf8201 100644 --- a/test/integration/ci-operator-prowgen/output/jobs/slack-report/duper/slack-report-duper-master-periodics.yaml +++ b/test/integration/ci-operator-prowgen/output/jobs/slack-report/duper/slack-report-duper-master-periodics.yaml @@ -12,6 +12,7 @@ periodics: ci-operator.openshift.io/variant: exclude ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: periodic-ci-slack-report-duper-master-exclude-lint spec: containers: @@ -44,9 +45,6 @@ periodics: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -55,9 +53,6 @@ periodics: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -73,6 +68,7 @@ periodics: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: periodic-ci-slack-report-duper-master-lint reporter_config: slack: @@ -115,9 +111,6 @@ periodics: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -126,9 +119,6 @@ periodics: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/ci-operator-prowgen/output/jobs/slack-report/duper/slack-report-duper-master-postsubmits.yaml b/test/integration/ci-operator-prowgen/output/jobs/slack-report/duper/slack-report-duper-master-postsubmits.yaml index 15ec006cbe7..bc37c225707 100644 --- a/test/integration/ci-operator-prowgen/output/jobs/slack-report/duper/slack-report-duper-master-postsubmits.yaml +++ b/test/integration/ci-operator-prowgen/output/jobs/slack-report/duper/slack-report-duper-master-postsubmits.yaml @@ -10,6 +10,7 @@ postsubmits: labels: ci-operator.openshift.io/variant: exclude ci.openshift.io/generator: prowgen + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-slack-report-duper-master-exclude-upload-results spec: @@ -43,9 +44,6 @@ postsubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -54,9 +52,6 @@ postsubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -69,6 +64,7 @@ postsubmits: skip_cloning: true labels: ci.openshift.io/generator: prowgen + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-slack-report-duper-master-upload-results reporter_config: @@ -112,9 +108,6 @@ postsubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -123,9 +116,6 @@ postsubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/ci-operator-prowgen/output/jobs/slack-report/duper/slack-report-duper-master-presubmits.yaml b/test/integration/ci-operator-prowgen/output/jobs/slack-report/duper/slack-report-duper-master-presubmits.yaml index f7803520994..6e20d3fe997 100644 --- a/test/integration/ci-operator-prowgen/output/jobs/slack-report/duper/slack-report-duper-master-presubmits.yaml +++ b/test/integration/ci-operator-prowgen/output/jobs/slack-report/duper/slack-report-duper-master-presubmits.yaml @@ -12,6 +12,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-slack-report-duper-master-e2e rerun_command: /test e2e spec: @@ -44,9 +45,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -55,9 +53,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -75,6 +70,7 @@ presubmits: ci-operator.openshift.io/variant: exclude ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-slack-report-duper-master-exclude-e2e rerun_command: /test exclude-e2e spec: @@ -108,9 +104,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -119,9 +112,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -139,6 +129,7 @@ presubmits: ci-operator.openshift.io/variant: exclude ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-slack-report-duper-master-exclude-unit rerun_command: /test exclude-unit spec: @@ -172,9 +163,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -183,9 +171,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -202,6 +187,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-slack-report-duper-master-unit reporter_config: slack: @@ -245,9 +231,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -256,9 +239,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/ci-operator-prowgen/output/jobs/subdir/repo/subdir-repo-master-presubmits.yaml b/test/integration/ci-operator-prowgen/output/jobs/subdir/repo/subdir-repo-master-presubmits.yaml index cb0c9505e39..21ffcf4a550 100644 --- a/test/integration/ci-operator-prowgen/output/jobs/subdir/repo/subdir-repo-master-presubmits.yaml +++ b/test/integration/ci-operator-prowgen/output/jobs/subdir/repo/subdir-repo-master-presubmits.yaml @@ -12,6 +12,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-subdir-repo-master-test rerun_command: /test test spec: @@ -44,9 +45,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -55,9 +53,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-job-release-periodics.yaml b/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-job-release-periodics.yaml index 4e75c328853..b972e7e5169 100644 --- a/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-job-release-periodics.yaml +++ b/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-job-release-periodics.yaml @@ -12,6 +12,7 @@ periodics: ci.openshift.io/generator: prowgen job-release: "4.6" pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: periodic-ci-super-duper-job-release-unit spec: containers: @@ -43,9 +44,6 @@ periodics: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -54,9 +52,6 @@ periodics: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-master-periodics.yaml b/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-master-periodics.yaml index a307d477b71..03f343a9add 100644 --- a/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-master-periodics.yaml +++ b/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-master-periodics.yaml @@ -11,6 +11,7 @@ periodics: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: periodic-ci-super-duper-master-e2e-aws-nightly spec: containers: @@ -42,9 +43,6 @@ periodics: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -53,9 +51,6 @@ periodics: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -71,6 +66,7 @@ periodics: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: periodic-ci-super-duper-master-e2e-aws-nightly-interval spec: containers: @@ -102,9 +98,6 @@ periodics: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -113,9 +106,6 @@ periodics: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -131,6 +121,7 @@ periodics: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: periodic-ci-super-duper-master-e2e-nightly spec: containers: @@ -162,9 +153,6 @@ periodics: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -173,9 +161,6 @@ periodics: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -192,6 +177,7 @@ periodics: ci-operator.openshift.io/release-controller: "true" ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: periodic-ci-super-duper-master-informer spec: containers: @@ -223,9 +209,6 @@ periodics: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -234,9 +217,6 @@ periodics: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-master-postsubmits.yaml b/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-master-postsubmits.yaml index 94006c5f322..4095b3f4f6b 100644 --- a/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-master-postsubmits.yaml +++ b/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-master-postsubmits.yaml @@ -10,6 +10,7 @@ postsubmits: labels: ci-operator.openshift.io/is-promotion: "true" ci.openshift.io/generator: prowgen + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-super-duper-master-images spec: @@ -36,9 +37,6 @@ postsubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/push-secret name: push-secret readOnly: true @@ -50,9 +48,6 @@ postsubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: push-secret secret: secretName: registry-push-credentials-ci-central @@ -70,6 +65,7 @@ postsubmits: ci-operator.openshift.io/is-promotion: "true" ci-operator.openshift.io/variant: images-build-affected ci.openshift.io/generator: prowgen + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-super-duper-master-images-build-affected-images spec: @@ -97,9 +93,6 @@ postsubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/push-secret name: push-secret readOnly: true @@ -111,9 +104,6 @@ postsubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: push-secret secret: secretName: registry-push-credentials-ci-central @@ -131,6 +121,7 @@ postsubmits: ci-operator.openshift.io/is-promotion: "true" ci-operator.openshift.io/variant: images-changed ci.openshift.io/generator: prowgen + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-super-duper-master-images-changed-images spec: @@ -158,9 +149,6 @@ postsubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/push-secret name: push-secret readOnly: true @@ -172,9 +160,6 @@ postsubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: push-secret secret: secretName: registry-push-credentials-ci-central @@ -192,6 +177,7 @@ postsubmits: ci-operator.openshift.io/is-promotion: "true" ci-operator.openshift.io/variant: images-pipeline-changed ci.openshift.io/generator: prowgen + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-super-duper-master-images-pipeline-changed-images spec: @@ -219,9 +205,6 @@ postsubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/push-secret name: push-secret readOnly: true @@ -233,9 +216,6 @@ postsubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: push-secret secret: secretName: registry-push-credentials-ci-central @@ -253,6 +233,7 @@ postsubmits: ci-operator.openshift.io/is-promotion: "true" ci-operator.openshift.io/variant: images-skip-docs ci.openshift.io/generator: prowgen + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-super-duper-master-images-skip-docs-images spec: @@ -280,9 +261,6 @@ postsubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/push-secret name: push-secret readOnly: true @@ -294,9 +272,6 @@ postsubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: push-secret secret: secretName: registry-push-credentials-ci-central @@ -319,6 +294,7 @@ postsubmits: skip_cloning: true labels: ci.openshift.io/generator: prowgen + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 6 name: branch-ci-super-duper-master-upload-results spec: @@ -351,9 +327,6 @@ postsubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -362,9 +335,6 @@ postsubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -379,6 +349,7 @@ postsubmits: ci-operator.openshift.io/is-promotion: "true" ci-operator.openshift.io/variant: variant ci.openshift.io/generator: prowgen + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-super-duper-master-variant-images path_alias: whoa.com/super/duper @@ -407,9 +378,6 @@ postsubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/push-secret name: push-secret readOnly: true @@ -421,9 +389,6 @@ postsubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: push-secret secret: secretName: registry-push-credentials-ci-central diff --git a/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-master-presubmits.yaml b/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-master-presubmits.yaml index fd379d068dc..4447a61b7a7 100644 --- a/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-master-presubmits.yaml +++ b/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-master-presubmits.yaml @@ -12,6 +12,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-master-ci-index rerun_command: /test ci-index spec: @@ -36,9 +37,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -47,9 +45,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -66,6 +61,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-master-ci-index-my-bundle optional: true rerun_command: /test ci-index-my-bundle @@ -91,9 +87,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -102,9 +95,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -121,6 +111,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-master-e2e rerun_command: /test e2e spec: @@ -153,9 +144,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -164,9 +152,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -183,6 +168,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 100 name: pull-ci-super-duper-master-images rerun_command: /test images @@ -210,9 +196,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -221,9 +204,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -241,6 +221,7 @@ presubmits: ci-operator.openshift.io/variant: images-build-affected ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-master-images-build-affected-images rerun_command: /test images-build-affected-images spec: @@ -267,9 +248,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -278,9 +256,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -298,6 +273,7 @@ presubmits: ci-operator.openshift.io/variant: images-build-affected ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-master-images-build-affected-unit rerun_command: /test images-build-affected-unit spec: @@ -331,9 +307,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -342,9 +315,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -362,6 +332,7 @@ presubmits: ci-operator.openshift.io/variant: images-changed ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-master-images-changed-images rerun_command: /test images-changed-images run_if_changed: ^images/ @@ -389,9 +360,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -400,9 +368,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -420,6 +385,7 @@ presubmits: ci-operator.openshift.io/variant: images-changed ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-master-images-changed-unit rerun_command: /test images-changed-unit spec: @@ -453,9 +419,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -464,9 +427,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -486,6 +446,7 @@ presubmits: ci-operator.openshift.io/variant: images-pipeline-changed ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-master-images-pipeline-changed-images rerun_command: /test images-pipeline-changed-images spec: @@ -512,9 +473,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -523,9 +481,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -543,6 +498,7 @@ presubmits: ci-operator.openshift.io/variant: images-pipeline-changed ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-master-images-pipeline-changed-unit rerun_command: /test images-pipeline-changed-unit spec: @@ -576,9 +532,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -587,9 +540,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -607,6 +557,7 @@ presubmits: ci-operator.openshift.io/variant: images-skip-docs ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-master-images-skip-docs-images rerun_command: /test images-skip-docs-images skip_if_only_changed: ^docs/ @@ -634,9 +585,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -645,9 +593,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -665,6 +610,7 @@ presubmits: ci-operator.openshift.io/variant: images-skip-docs ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-master-images-skip-docs-unit rerun_command: /test images-skip-docs-unit spec: @@ -698,9 +644,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -709,9 +652,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -738,6 +678,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-master-lint rerun_command: /test lint spec: @@ -770,9 +711,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -781,9 +719,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -802,6 +737,7 @@ presubmits: ci-operator.openshift.io/cloud-cluster-profile: aws ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-master-optional-job optional: true rerun_command: /test optional-job @@ -839,9 +775,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -856,9 +789,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -875,6 +805,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-master-registry rerun_command: /test registry spec: @@ -911,9 +842,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -928,9 +856,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -949,6 +874,7 @@ presubmits: ci-operator.openshift.io/cloud-cluster-profile: aws ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-master-registry-with-profile rerun_command: /test registry-with-profile spec: @@ -985,9 +911,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -1002,9 +925,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -1021,6 +941,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-master-steps rerun_command: /test steps spec: @@ -1057,9 +978,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -1074,9 +992,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -1093,6 +1008,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-master-unit rerun_command: /test unit spec: @@ -1125,9 +1041,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -1136,9 +1049,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -1156,6 +1066,7 @@ presubmits: ci-operator.openshift.io/variant: variant ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-master-variant-images path_alias: whoa.com/super/duper rerun_command: /test variant-images @@ -1183,9 +1094,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -1194,9 +1102,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -1214,6 +1119,7 @@ presubmits: ci-operator.openshift.io/variant: variant ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-master-variant-unit path_alias: whoa.com/super/duper rerun_command: /test variant-unit @@ -1248,9 +1154,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -1259,9 +1162,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-master-removed-promotion-presubmits.yaml b/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-master-removed-promotion-presubmits.yaml index f942642906c..7d4e742cbf2 100644 --- a/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-master-removed-promotion-presubmits.yaml +++ b/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-master-removed-promotion-presubmits.yaml @@ -12,6 +12,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-master-removed-promotion-images rerun_command: /test images spec: @@ -36,9 +37,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -47,9 +45,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-release-3.11-postsubmits.yaml b/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-release-3.11-postsubmits.yaml index a34b84aeed3..278f69bac97 100644 --- a/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-release-3.11-postsubmits.yaml +++ b/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-release-3.11-postsubmits.yaml @@ -10,6 +10,7 @@ postsubmits: labels: ci-operator.openshift.io/is-promotion: "true" ci.openshift.io/generator: prowgen + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-super-duper-release-3.11-images spec: @@ -37,9 +38,6 @@ postsubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/push-secret name: push-secret readOnly: true @@ -51,9 +49,6 @@ postsubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: push-secret secret: secretName: registry-push-credentials-ci-central diff --git a/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-release-3.11-presubmits.yaml b/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-release-3.11-presubmits.yaml index e1d4ad6d6ad..694f5892259 100644 --- a/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-release-3.11-presubmits.yaml +++ b/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-release-3.11-presubmits.yaml @@ -12,6 +12,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-release-3.11-images rerun_command: /test images spec: @@ -37,9 +38,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -48,9 +46,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -77,6 +72,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-release-3.11-lint rerun_command: /test lint spec: @@ -109,9 +105,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -120,9 +113,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -139,6 +129,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-release-3.11-unit rerun_command: /test unit spec: @@ -171,9 +162,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -182,9 +170,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-release-4.19-periodics.yaml b/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-release-4.19-periodics.yaml index 6f8e049f553..09d6173aead 100644 --- a/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-release-4.19-periodics.yaml +++ b/test/integration/ci-operator-prowgen/output/jobs/super/duper/super-duper-release-4.19-periodics.yaml @@ -10,6 +10,7 @@ periodics: ci-operator.openshift.io/variant: periodics ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: periodic-ci-super-duper-release-4.19-periodics-unit spec: containers: @@ -42,9 +43,6 @@ periodics: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -53,9 +51,6 @@ periodics: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/pj-rehearse/candidate/ci-operator/jobs/super/duper/super-duper-ciop-cfg-change-presubmits.yaml b/test/integration/pj-rehearse/candidate/ci-operator/jobs/super/duper/super-duper-ciop-cfg-change-presubmits.yaml index 9cb9ec18efc..70c8e3ac308 100644 --- a/test/integration/pj-rehearse/candidate/ci-operator/jobs/super/duper/super-duper-ciop-cfg-change-presubmits.yaml +++ b/test/integration/pj-rehearse/candidate/ci-operator/jobs/super/duper/super-duper-ciop-cfg-change-presubmits.yaml @@ -45,6 +45,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-ciop-cfg-change-images rerun_command: /test images spec: @@ -69,9 +70,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -80,9 +78,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/pj-rehearse/candidate/ci-operator/jobs/super/duper/super-duper-cluster-profile-presubmits.yaml b/test/integration/pj-rehearse/candidate/ci-operator/jobs/super/duper/super-duper-cluster-profile-presubmits.yaml index 95a595cffc2..015c7822948 100644 --- a/test/integration/pj-rehearse/candidate/ci-operator/jobs/super/duper/super-duper-cluster-profile-presubmits.yaml +++ b/test/integration/pj-rehearse/candidate/ci-operator/jobs/super/duper/super-duper-cluster-profile-presubmits.yaml @@ -12,6 +12,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-cluster-profile-images rerun_command: /test images spec: @@ -36,9 +37,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -47,9 +45,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/pj-rehearse/candidate/ci-operator/jobs/super/duper/super-duper-master-presubmits.yaml b/test/integration/pj-rehearse/candidate/ci-operator/jobs/super/duper/super-duper-master-presubmits.yaml index bdc319cb32a..91f3832fa9a 100644 --- a/test/integration/pj-rehearse/candidate/ci-operator/jobs/super/duper/super-duper-master-presubmits.yaml +++ b/test/integration/pj-rehearse/candidate/ci-operator/jobs/super/duper/super-duper-master-presubmits.yaml @@ -87,6 +87,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-master-images rerun_command: /test images spec: @@ -111,9 +112,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -122,9 +120,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/pj-rehearse/candidate/ci-operator/jobs/super/trooper/super-trooper-master-periodics.yaml b/test/integration/pj-rehearse/candidate/ci-operator/jobs/super/trooper/super-trooper-master-periodics.yaml index 696bd8d77ed..c99e77ff4f8 100644 --- a/test/integration/pj-rehearse/candidate/ci-operator/jobs/super/trooper/super-trooper-master-periodics.yaml +++ b/test/integration/pj-rehearse/candidate/ci-operator/jobs/super/trooper/super-trooper-master-periodics.yaml @@ -57,6 +57,7 @@ periodics: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: periodic-ci-super-trooper-master-changed-periodic spec: containers: @@ -92,9 +93,6 @@ periodics: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -109,9 +107,6 @@ periodics: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/pj-rehearse/candidate/ci-operator/jobs/super/trooper/super-trooper-master-presubmits.yaml b/test/integration/pj-rehearse/candidate/ci-operator/jobs/super/trooper/super-trooper-master-presubmits.yaml index 953f8047afd..5a23b95418d 100644 --- a/test/integration/pj-rehearse/candidate/ci-operator/jobs/super/trooper/super-trooper-master-presubmits.yaml +++ b/test/integration/pj-rehearse/candidate/ci-operator/jobs/super/trooper/super-trooper-master-presubmits.yaml @@ -86,6 +86,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-trooper-master-images rerun_command: /test images spec: @@ -110,9 +111,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -121,9 +119,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -169,6 +164,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-trooper-master-multistage rerun_command: /test multistage spec: @@ -205,9 +201,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -222,9 +215,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -241,6 +231,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-trooper-master-multistage2 rerun_command: /test multistage2 spec: @@ -277,9 +268,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -294,9 +282,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -315,6 +300,7 @@ presubmits: ci-operator.openshift.io/cloud-cluster-profile: azure4 ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-trooper-master-multistage3 rerun_command: /test multistage3 spec: @@ -351,9 +337,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -368,9 +351,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -387,6 +367,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-trooper-master-multistage4 rerun_command: /test multistage4 spec: @@ -423,9 +404,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -440,9 +418,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -459,6 +434,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-trooper-master-multistage5 rerun_command: /test multistage5 spec: @@ -495,9 +471,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -512,9 +485,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -531,6 +501,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-trooper-master-unit rerun_command: /test unit spec: @@ -563,9 +534,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -574,9 +542,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/pj-rehearse/candidate/ci-operator/jobs/uses/observer/uses-observer-master-presubmits.yaml b/test/integration/pj-rehearse/candidate/ci-operator/jobs/uses/observer/uses-observer-master-presubmits.yaml index 57211eef2b8..5c16899770d 100644 --- a/test/integration/pj-rehearse/candidate/ci-operator/jobs/uses/observer/uses-observer-master-presubmits.yaml +++ b/test/integration/pj-rehearse/candidate/ci-operator/jobs/uses/observer/uses-observer-master-presubmits.yaml @@ -12,6 +12,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-uses-observer-master-should-not-be-rehearsed rerun_command: /test should-not-be-rehearsed spec: @@ -44,9 +45,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -55,9 +53,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -74,6 +69,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-uses-observer-master-test-with-changed-observer rerun_command: /test test-with-changed-observer spec: @@ -110,9 +106,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -127,9 +120,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -146,6 +136,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-uses-observer-master-test-with-changed-observer-commands rerun_command: /test test-with-changed-observer-commands spec: @@ -182,9 +173,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -199,9 +187,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -218,6 +203,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-uses-observer-master-test-with-changed-observer-workflow rerun_command: /test test-with-changed-observer-workflow spec: @@ -254,9 +240,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -271,9 +254,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -290,6 +270,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-uses-observer-master-test-with-unchanged-observer rerun_command: /test test-with-unchanged-observer spec: @@ -326,9 +307,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -343,9 +321,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -362,6 +337,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-uses-observer-master-test-with-unchanged-observer-workflow rerun_command: /test test-with-unchanged-observer-workflow spec: @@ -398,9 +374,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -415,9 +388,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/pj-rehearse/expected.yaml b/test/integration/pj-rehearse/expected.yaml index 07d4e1c2566..4acf1de4642 100644 --- a/test/integration/pj-rehearse/expected.yaml +++ b/test/integration/pj-rehearse/expected.yaml @@ -460,6 +460,7 @@ created-by-prow: "true" pj-rehearse.openshift.io/can-be-rehearsed: "true" pj-rehearse.openshift.io/source-type: changedCiopConfig + presets.ci.openshift.io/registry-pull: "true" prow.k8s.io/context: periodic-ci-super-trooper-master-changed-periodic prow.k8s.io/job: rehearse-1234-periodic-ci-super-trooper-master-changed-periodic prow.k8s.io/refs.base_ref: master @@ -533,9 +534,6 @@ - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -550,9 +548,6 @@ - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -677,6 +672,7 @@ created-by-prow: "true" pj-rehearse.openshift.io/can-be-rehearsed: "true" pj-rehearse.openshift.io/source-type: changedCiopConfig + presets.ci.openshift.io/registry-pull: "true" prow.k8s.io/context: images prow.k8s.io/job: rehearse-1234-pull-ci-super-duper-ciop-cfg-change-images prow.k8s.io/refs.base_ref: master @@ -739,9 +735,6 @@ - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -750,9 +743,6 @@ - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -1075,6 +1065,7 @@ created-by-prow: "true" pj-rehearse.openshift.io/can-be-rehearsed: "true" pj-rehearse.openshift.io/source-type: changedRegistryContent + presets.ci.openshift.io/registry-pull: "true" prow.k8s.io/context: multistage prow.k8s.io/job: rehearse-1234-pull-ci-super-trooper-master-multistage prow.k8s.io/refs.base_ref: master @@ -1148,9 +1139,6 @@ - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -1165,9 +1153,6 @@ - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -1202,6 +1187,7 @@ created-by-prow: "true" pj-rehearse.openshift.io/can-be-rehearsed: "true" pj-rehearse.openshift.io/source-type: changedRegistryContent + presets.ci.openshift.io/registry-pull: "true" prow.k8s.io/context: multistage2 prow.k8s.io/job: rehearse-1234-pull-ci-super-trooper-master-multistage2 prow.k8s.io/refs.base_ref: master @@ -1275,9 +1261,6 @@ - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -1292,9 +1275,6 @@ - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -1331,6 +1311,7 @@ created-by-prow: "true" pj-rehearse.openshift.io/can-be-rehearsed: "true" pj-rehearse.openshift.io/source-type: changedRegistryContent + presets.ci.openshift.io/registry-pull: "true" prow.k8s.io/context: multistage3 prow.k8s.io/job: rehearse-1234-pull-ci-super-trooper-master-multistage3 prow.k8s.io/refs.base_ref: master @@ -1404,9 +1385,6 @@ - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -1421,9 +1399,6 @@ - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -1458,6 +1433,7 @@ created-by-prow: "true" pj-rehearse.openshift.io/can-be-rehearsed: "true" pj-rehearse.openshift.io/source-type: changedPresubmit + presets.ci.openshift.io/registry-pull: "true" prow.k8s.io/context: multistage5 prow.k8s.io/job: rehearse-1234-pull-ci-super-trooper-master-multistage5 prow.k8s.io/refs.base_ref: master @@ -1531,9 +1507,6 @@ - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -1548,9 +1521,6 @@ - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -1585,6 +1555,7 @@ created-by-prow: "true" pj-rehearse.openshift.io/can-be-rehearsed: "true" pj-rehearse.openshift.io/source-type: changedCiopConfig + presets.ci.openshift.io/registry-pull: "true" prow.k8s.io/context: unit prow.k8s.io/job: rehearse-1234-pull-ci-super-trooper-master-unit prow.k8s.io/refs.base_ref: master @@ -1654,9 +1625,6 @@ - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -1665,9 +1633,6 @@ - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -1702,6 +1667,7 @@ created-by-prow: "true" pj-rehearse.openshift.io/can-be-rehearsed: "true" pj-rehearse.openshift.io/source-type: changedRegistryContent + presets.ci.openshift.io/registry-pull: "true" prow.k8s.io/context: test-with-changed-observer prow.k8s.io/job: rehearse-1234-pull-ci-uses-observer-master-test-with-changed-ob prow.k8s.io/refs.base_ref: master @@ -1775,9 +1741,6 @@ - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -1792,9 +1755,6 @@ - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -1829,6 +1789,7 @@ created-by-prow: "true" pj-rehearse.openshift.io/can-be-rehearsed: "true" pj-rehearse.openshift.io/source-type: changedRegistryContent + presets.ci.openshift.io/registry-pull: "true" prow.k8s.io/context: test-with-changed-observer-com prow.k8s.io/job: rehearse-1234-pull-ci-uses-observer-master-test-with-changed-ob prow.k8s.io/refs.base_ref: master @@ -1902,9 +1863,6 @@ - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -1919,9 +1877,6 @@ - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -1956,6 +1911,7 @@ created-by-prow: "true" pj-rehearse.openshift.io/can-be-rehearsed: "true" pj-rehearse.openshift.io/source-type: changedRegistryContent + presets.ci.openshift.io/registry-pull: "true" prow.k8s.io/context: test-with-changed-observer-wor prow.k8s.io/job: rehearse-1234-pull-ci-uses-observer-master-test-with-changed-ob prow.k8s.io/refs.base_ref: master @@ -2029,9 +1985,6 @@ - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -2046,9 +1999,6 @@ - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/pj-rehearse/master/ci-operator/jobs/super/duper/super-duper-ciop-cfg-change-presubmits.yaml b/test/integration/pj-rehearse/master/ci-operator/jobs/super/duper/super-duper-ciop-cfg-change-presubmits.yaml index 9cb9ec18efc..70c8e3ac308 100644 --- a/test/integration/pj-rehearse/master/ci-operator/jobs/super/duper/super-duper-ciop-cfg-change-presubmits.yaml +++ b/test/integration/pj-rehearse/master/ci-operator/jobs/super/duper/super-duper-ciop-cfg-change-presubmits.yaml @@ -45,6 +45,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-ciop-cfg-change-images rerun_command: /test images spec: @@ -69,9 +70,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -80,9 +78,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/pj-rehearse/master/ci-operator/jobs/super/duper/super-duper-cluster-profile-presubmits.yaml b/test/integration/pj-rehearse/master/ci-operator/jobs/super/duper/super-duper-cluster-profile-presubmits.yaml index 95a595cffc2..015c7822948 100644 --- a/test/integration/pj-rehearse/master/ci-operator/jobs/super/duper/super-duper-cluster-profile-presubmits.yaml +++ b/test/integration/pj-rehearse/master/ci-operator/jobs/super/duper/super-duper-cluster-profile-presubmits.yaml @@ -12,6 +12,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-cluster-profile-images rerun_command: /test images spec: @@ -36,9 +37,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -47,9 +45,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/pj-rehearse/master/ci-operator/jobs/super/duper/super-duper-master-presubmits.yaml b/test/integration/pj-rehearse/master/ci-operator/jobs/super/duper/super-duper-master-presubmits.yaml index ca3afea2e18..0accfea1cd0 100644 --- a/test/integration/pj-rehearse/master/ci-operator/jobs/super/duper/super-duper-master-presubmits.yaml +++ b/test/integration/pj-rehearse/master/ci-operator/jobs/super/duper/super-duper-master-presubmits.yaml @@ -82,6 +82,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-duper-master-images rerun_command: /test images spec: @@ -106,9 +107,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -117,9 +115,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/pj-rehearse/master/ci-operator/jobs/super/trooper/super-trooper-master-periodics.yaml b/test/integration/pj-rehearse/master/ci-operator/jobs/super/trooper/super-trooper-master-periodics.yaml index f9526875786..9cdd0244103 100644 --- a/test/integration/pj-rehearse/master/ci-operator/jobs/super/trooper/super-trooper-master-periodics.yaml +++ b/test/integration/pj-rehearse/master/ci-operator/jobs/super/trooper/super-trooper-master-periodics.yaml @@ -56,6 +56,7 @@ periodics: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: periodic-ci-super-trooper-master-changed-periodic spec: containers: @@ -91,9 +92,6 @@ periodics: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -108,9 +106,6 @@ periodics: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/pj-rehearse/master/ci-operator/jobs/super/trooper/super-trooper-master-presubmits.yaml b/test/integration/pj-rehearse/master/ci-operator/jobs/super/trooper/super-trooper-master-presubmits.yaml index 7aefd78eecd..0862f5ae119 100644 --- a/test/integration/pj-rehearse/master/ci-operator/jobs/super/trooper/super-trooper-master-presubmits.yaml +++ b/test/integration/pj-rehearse/master/ci-operator/jobs/super/trooper/super-trooper-master-presubmits.yaml @@ -86,6 +86,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-trooper-master-images rerun_command: /test images spec: @@ -110,9 +111,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -121,9 +119,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -169,6 +164,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-trooper-master-multistage rerun_command: /test multistage spec: @@ -205,9 +201,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -222,9 +215,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -241,6 +231,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-trooper-master-multistage2 rerun_command: /test multistage2 spec: @@ -277,9 +268,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -294,9 +282,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -315,6 +300,7 @@ presubmits: ci-operator.openshift.io/cloud-cluster-profile: azure4 ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-trooper-master-multistage3 rerun_command: /test multistage3 spec: @@ -351,9 +337,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -368,9 +351,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -387,6 +367,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-trooper-master-multistage4 rerun_command: /test multistage4 spec: @@ -423,9 +404,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -440,9 +418,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -459,6 +434,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-super-trooper-master-unit rerun_command: /test unit spec: @@ -491,9 +467,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -502,9 +475,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/pj-rehearse/master/ci-operator/jobs/uses/observer/uses-observer-master-presubmits.yaml b/test/integration/pj-rehearse/master/ci-operator/jobs/uses/observer/uses-observer-master-presubmits.yaml index 57211eef2b8..5c16899770d 100644 --- a/test/integration/pj-rehearse/master/ci-operator/jobs/uses/observer/uses-observer-master-presubmits.yaml +++ b/test/integration/pj-rehearse/master/ci-operator/jobs/uses/observer/uses-observer-master-presubmits.yaml @@ -12,6 +12,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-uses-observer-master-should-not-be-rehearsed rerun_command: /test should-not-be-rehearsed spec: @@ -44,9 +45,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -55,9 +53,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -74,6 +69,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-uses-observer-master-test-with-changed-observer rerun_command: /test test-with-changed-observer spec: @@ -110,9 +106,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -127,9 +120,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -146,6 +136,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-uses-observer-master-test-with-changed-observer-commands rerun_command: /test test-with-changed-observer-commands spec: @@ -182,9 +173,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -199,9 +187,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -218,6 +203,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-uses-observer-master-test-with-changed-observer-workflow rerun_command: /test test-with-changed-observer-workflow spec: @@ -254,9 +240,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -271,9 +254,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -290,6 +270,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-uses-observer-master-test-with-unchanged-observer rerun_command: /test test-with-unchanged-observer spec: @@ -326,9 +307,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -343,9 +321,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -362,6 +337,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-uses-observer-master-test-with-unchanged-observer-workflow rerun_command: /test test-with-unchanged-observer-workflow spec: @@ -398,9 +374,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -415,9 +388,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/repo-init/expected/ci-operator/jobs/openshift/ci-tools/openshift-ci-tools-master-postsubmits.yaml b/test/integration/repo-init/expected/ci-operator/jobs/openshift/ci-tools/openshift-ci-tools-master-postsubmits.yaml index b001574a9a6..ab84e398444 100644 --- a/test/integration/repo-init/expected/ci-operator/jobs/openshift/ci-tools/openshift-ci-tools-master-postsubmits.yaml +++ b/test/integration/repo-init/expected/ci-operator/jobs/openshift/ci-tools/openshift-ci-tools-master-postsubmits.yaml @@ -11,6 +11,7 @@ postsubmits: labels: ci-operator.openshift.io/is-promotion: "true" ci.openshift.io/generator: prowgen + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-openshift-ci-tools-master-images spec: @@ -37,9 +38,6 @@ postsubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/push-secret name: push-secret readOnly: true @@ -51,9 +49,6 @@ postsubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: push-secret secret: secretName: registry-push-credentials-ci-central diff --git a/test/integration/repo-init/expected/ci-operator/jobs/openshift/ci-tools/openshift-ci-tools-master-presubmits.yaml b/test/integration/repo-init/expected/ci-operator/jobs/openshift/ci-tools/openshift-ci-tools-master-presubmits.yaml index 08336999427..7c6dc506edf 100644 --- a/test/integration/repo-init/expected/ci-operator/jobs/openshift/ci-tools/openshift-ci-tools-master-presubmits.yaml +++ b/test/integration/repo-init/expected/ci-operator/jobs/openshift/ci-tools/openshift-ci-tools-master-presubmits.yaml @@ -13,6 +13,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-openshift-ci-tools-master-images rerun_command: /test images spec: @@ -37,9 +38,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -48,9 +46,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -68,6 +63,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-openshift-ci-tools-master-unit rerun_command: /test unit spec: @@ -100,9 +96,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -111,9 +104,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/repo-init/expected/ci-operator/jobs/openshift/origin/openshift-origin-main-postsubmits.yaml b/test/integration/repo-init/expected/ci-operator/jobs/openshift/origin/openshift-origin-main-postsubmits.yaml index 02fc1459bca..8a85b46853e 100644 --- a/test/integration/repo-init/expected/ci-operator/jobs/openshift/origin/openshift-origin-main-postsubmits.yaml +++ b/test/integration/repo-init/expected/ci-operator/jobs/openshift/origin/openshift-origin-main-postsubmits.yaml @@ -11,6 +11,7 @@ postsubmits: labels: ci-operator.openshift.io/is-promotion: "true" ci.openshift.io/generator: prowgen + presets.ci.openshift.io/registry-pull: "true" max_concurrency: 1 name: branch-ci-openshift-origin-main-images spec: @@ -38,9 +39,6 @@ postsubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/push-secret name: push-secret readOnly: true @@ -52,9 +50,6 @@ postsubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: push-secret secret: secretName: registry-push-credentials-ci-central diff --git a/test/integration/repo-init/expected/ci-operator/jobs/openshift/origin/openshift-origin-main-presubmits.yaml b/test/integration/repo-init/expected/ci-operator/jobs/openshift/origin/openshift-origin-main-presubmits.yaml index daa9126b2bb..b4392f3824d 100644 --- a/test/integration/repo-init/expected/ci-operator/jobs/openshift/origin/openshift-origin-main-presubmits.yaml +++ b/test/integration/repo-init/expected/ci-operator/jobs/openshift/origin/openshift-origin-main-presubmits.yaml @@ -13,6 +13,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-openshift-origin-main-images rerun_command: /test images spec: @@ -39,9 +40,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -50,9 +48,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -70,6 +65,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-openshift-origin-main-unit rerun_command: /test unit spec: @@ -102,9 +98,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -113,9 +106,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/repo-init/expected/ci-operator/jobs/org/other/org-other-nonstandard-presubmits.yaml b/test/integration/repo-init/expected/ci-operator/jobs/org/other/org-other-nonstandard-presubmits.yaml index bcf73947d10..75a6e9e59fc 100644 --- a/test/integration/repo-init/expected/ci-operator/jobs/org/other/org-other-nonstandard-presubmits.yaml +++ b/test/integration/repo-init/expected/ci-operator/jobs/org/other/org-other-nonstandard-presubmits.yaml @@ -13,6 +13,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-org-other-nonstandard-unit path_alias: k8s.io/cool rerun_command: /test unit @@ -46,9 +47,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -57,9 +55,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/repo-init/expected/ci-operator/jobs/org/repo/org-repo-main-presubmits.yaml b/test/integration/repo-init/expected/ci-operator/jobs/org/repo/org-repo-main-presubmits.yaml index cd0e6747afe..19781dc8af6 100644 --- a/test/integration/repo-init/expected/ci-operator/jobs/org/repo/org-repo-main-presubmits.yaml +++ b/test/integration/repo-init/expected/ci-operator/jobs/org/repo/org-repo-main-presubmits.yaml @@ -13,6 +13,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-org-repo-main-cmd rerun_command: /test cmd spec: @@ -45,9 +46,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -56,9 +54,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -78,6 +73,7 @@ presubmits: ci-operator.openshift.io/cloud-cluster-profile: aws ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-org-repo-main-e2e rerun_command: /test e2e spec: @@ -118,9 +114,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -138,9 +131,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -160,6 +150,7 @@ presubmits: ci-operator.openshift.io/cloud-cluster-profile: aws ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-org-repo-main-e2e-aws rerun_command: /test e2e-aws spec: @@ -200,9 +191,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -220,9 +208,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -240,6 +225,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-org-repo-main-race rerun_command: /test race spec: @@ -272,9 +258,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -283,9 +266,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator @@ -303,6 +283,7 @@ presubmits: labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-org-repo-main-unit rerun_command: /test unit spec: @@ -335,9 +316,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -346,9 +324,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator diff --git a/test/integration/repo-init/expected/ci-operator/jobs/org/third/org-third-nonstandard-presubmits.yaml b/test/integration/repo-init/expected/ci-operator/jobs/org/third/org-third-nonstandard-presubmits.yaml index 8fe288416d3..ee57c808692 100644 --- a/test/integration/repo-init/expected/ci-operator/jobs/org/third/org-third-nonstandard-presubmits.yaml +++ b/test/integration/repo-init/expected/ci-operator/jobs/org/third/org-third-nonstandard-presubmits.yaml @@ -16,6 +16,7 @@ presubmits: ci.openshift.io/generator: prowgen job-release: "4.4" pj-rehearse.openshift.io/can-be-rehearsed: "true" + presets.ci.openshift.io/registry-pull: "true" name: pull-ci-org-third-nonstandard-e2e path_alias: k8s.io/cool rerun_command: /test e2e @@ -57,9 +58,6 @@ presubmits: - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - mountPath: /etc/report name: result-aggregator readOnly: true @@ -77,9 +75,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - name: result-aggregator secret: secretName: result-aggregator