From 166768e9d58e74901fd18e00dbaa45df95b3ae2c Mon Sep 17 00:00:00 2001 From: Sachin Sampras M Date: Thu, 14 May 2026 09:58:24 +0100 Subject: [PATCH] fix: operator and ansible image repos Signed-off-by: Sachin Sampras M --- .../overlay/ansible/patch/collection.yaml | 24 ++++++++++++++++++- .../overlay/rhtas-operator/patch/bundle.yaml | 22 +++++++++++++++++ .../overlay/rhtas-operator/patch/manager.yaml | 22 +++++++++++++++++ 3 files changed, 67 insertions(+), 1 deletion(-) diff --git a/konflux-configs/base/project/overlay/ansible/patch/collection.yaml b/konflux-configs/base/project/overlay/ansible/patch/collection.yaml index 05fb00fb..2db056d7 100644 --- a/konflux-configs/base/project/overlay/ansible/patch/collection.yaml +++ b/konflux-configs/base/project/overlay/ansible/patch/collection.yaml @@ -17,4 +17,26 @@ context: ./ dockerfileUrl: Dockerfile revision: "{{.branch}}" - url: https://github.com/securesign/artifact-signer-ansible \ No newline at end of file + url: https://github.com/securesign/artifact-signer-ansible +- op: add + path: /spec/resources/- + value: + apiVersion: appstudio.redhat.com/v1alpha1 + kind: ImageRepository + metadata: + name: "artifact-signer-ansible{{.nameSuffix}}" + annotations: + image-controller.appstudio.redhat.com/update-component-image: 'true' + labels: + appstudio.redhat.com/application: "{{.application}}{{.nameSuffix}}" + appstudio.redhat.com/component: "artifact-signer-ansible{{.nameSuffix}}" + spec: + image: + name: rhtas-tenant/artifact-signer-ansible + visibility: public + notifications: + - config: + url: https://bombino.api.redhat.com/v1/sbom/quay/push + event: repo_push + method: webhook + title: SBOM-event-to-Bombino \ No newline at end of file diff --git a/konflux-configs/base/project/overlay/rhtas-operator/patch/bundle.yaml b/konflux-configs/base/project/overlay/rhtas-operator/patch/bundle.yaml index a99f2148..8f8b222b 100644 --- a/konflux-configs/base/project/overlay/rhtas-operator/patch/bundle.yaml +++ b/konflux-configs/base/project/overlay/rhtas-operator/patch/bundle.yaml @@ -16,3 +16,25 @@ dockerfileUrl: bundle.Dockerfile revision: "{{.branch}}" url: https://github.com/securesign/secure-sign-operator +- op: add + path: /spec/resources/- + value: + apiVersion: appstudio.redhat.com/v1alpha1 + kind: ImageRepository + metadata: + name: "rhtas-operator-bundle{{.nameSuffix}}" + annotations: + image-controller.appstudio.redhat.com/update-component-image: 'true' + labels: + appstudio.redhat.com/application: "{{.application}}{{.nameSuffix}}" + appstudio.redhat.com/component: "rhtas-operator-bundle{{.nameSuffix}}" + spec: + image: + name: rhtas-tenant/rhtas-operator-bundle + visibility: public + notifications: + - config: + url: https://bombino.api.redhat.com/v1/sbom/quay/push + event: repo_push + method: webhook + title: SBOM-event-to-Bombino diff --git a/konflux-configs/base/project/overlay/rhtas-operator/patch/manager.yaml b/konflux-configs/base/project/overlay/rhtas-operator/patch/manager.yaml index 403aa8ea..92fd3dc2 100644 --- a/konflux-configs/base/project/overlay/rhtas-operator/patch/manager.yaml +++ b/konflux-configs/base/project/overlay/rhtas-operator/patch/manager.yaml @@ -16,3 +16,25 @@ dockerfileUrl: Dockerfile.rhtas-operator.rh revision: "{{.branch}}" url: https://github.com/securesign/secure-sign-operator +- op: add + path: /spec/resources/- + value: + apiVersion: appstudio.redhat.com/v1alpha1 + kind: ImageRepository + metadata: + name: "rhtas-operator{{.nameSuffix}}" + annotations: + image-controller.appstudio.redhat.com/update-component-image: 'true' + labels: + appstudio.redhat.com/application: "{{.application}}{{.nameSuffix}}" + appstudio.redhat.com/component: "rhtas-operator{{.nameSuffix}}" + spec: + image: + name: rhtas-tenant/rhtas-operator + visibility: public + notifications: + - config: + url: https://bombino.api.redhat.com/v1/sbom/quay/push + event: repo_push + method: webhook + title: SBOM-event-to-Bombino