From 2ba072ed17c38d5e4d8b83f591bcf439d341ea16 Mon Sep 17 00:00:00 2001 From: Sergio Arroutbi Date: Fri, 29 Nov 2024 17:53:55 +0100 Subject: [PATCH] [DONOTMERGE]: Example of Image Digest Mirror Signed-off-by: Sergio Arroutbi --- .github/workflows/yamllint.yaml | 1 + .../image_digest_mirror_set_1_1.yaml | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 TestHelpers/reg_test_openshift_konflux/all_test_namespace/image_digest_mirror_set_1_1.yaml diff --git a/.github/workflows/yamllint.yaml b/.github/workflows/yamllint.yaml index 8fa96e4..c0a918a 100644 --- a/.github/workflows/yamllint.yaml +++ b/.github/workflows/yamllint.yaml @@ -19,6 +19,7 @@ jobs: - name: 'Yamllint' uses: karancode/yamllint-github-action@master with: + yamllint_config_datapath: '{"extends": "relaxed", "rules": "{line-length: {max: 120}}"}' yamllint_file_or_dir: './' yamllint_strict: false yamllint_comment: true diff --git a/TestHelpers/reg_test_openshift_konflux/all_test_namespace/image_digest_mirror_set_1_1.yaml b/TestHelpers/reg_test_openshift_konflux/all_test_namespace/image_digest_mirror_set_1_1.yaml new file mode 100644 index 0000000..7c429a4 --- /dev/null +++ b/TestHelpers/reg_test_openshift_konflux/all_test_namespace/image_digest_mirror_set_1_1.yaml @@ -0,0 +1,15 @@ +--- +kind: ImageDigestMirrorSet +apiVersion: config.openshift.io/v1 +metadata: + name: nbde-tang-server-fbc-staging-index +spec: + imageDigestMirrors: + - source: registry.redhat.io/nbde-tang-server/nbde-tang-server-operator-bundle + mirrors: + - quay.io/redhat-user-workloads/konflux-sec-eng-spec-tenant/nbde-tang-server-1-1/nbde-tang-server-multiarch-bundle-1-1 + - quay.io/redhat-user-workloads/konflux-sec-eng-spec-tenant/nbde-tang-server/nbde-tang-server-bundle-multiarch + - source: registry.redhat.io/nbde-tang-server/nbde-tang-server-rhel9-operator + mirrors: + - quay.io/redhat-user-workloads/konflux-sec-eng-spec-tenant/nbde-tang-server-1-1/nbde-tang-server-multiarch-1-1 + - quay.io/redhat-user-workloads/konflux-sec-eng-spec-tenant/nbde-tang-server/nbde-tang-server-multiarch