From 081e07a178aa358eca3a8c37bc3bfecac1c3f521 Mon Sep 17 00:00:00 2001 From: pratap0007 Date: Thu, 12 Sep 2024 18:04:11 +0530 Subject: [PATCH] Add Result retention policy agent env for openshift This patch adds env for openshift and update the CSV file for new Results Retention Policy Agent deployment Signed-off-by: Shiv Verma --- docs/AirGapImageConfiguration.md | 1 + operatorhub/openshift/config.yaml | 8 +++++++- ...shift-pipelines-operator-rh.clusterserviceversion.yaml | 2 ++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/AirGapImageConfiguration.md b/docs/AirGapImageConfiguration.md index a9e0fdb037..d0941c4cbf 100644 --- a/docs/AirGapImageConfiguration.md +++ b/docs/AirGapImageConfiguration.md @@ -73,6 +73,7 @@ Supports all the images listed above in kubernetes and following are specific to | Pipeline-as-code | pac-webhook | `IMAGE_PAC_PAC_WEBHOOK` | | Pipeline-as-code | pac-watcher | `IMAGE_PAC_PAC_WATCHER` | | Console Plugin | console-plugin | `IMAGE_PIPELINES_CONSOLE_PLUGIN` | +| Results | retention-policy-agent | `IMAGE_RESULTS_RETENTION_POLICY_AGENT` | | Addons | | `IMAGE_ADDONS_BUILD` | | Addons | | `IMAGE_ADDONS_GENERATE` | | Addons | | `IMAGE_ADDONS_GEN_ENV_FILE` | diff --git a/operatorhub/openshift/config.yaml b/operatorhub/openshift/config.yaml index 89d695ffd3..f3d2aa03fe 100644 --- a/operatorhub/openshift/config.yaml +++ b/operatorhub/openshift/config.yaml @@ -246,7 +246,13 @@ image-substitutions: containerName: openshift-pipelines-operator-lifecycle envKeys: - IMAGE_RESULTS_API - +- image: registry.redhat.io/openshift-pipelines/pipelines-results-retention-policy-agent-rhel8@ + replaceLocations: + envTargets: + - deploymentName: openshift-pipelines-operator + containerName: openshift-pipelines-operator-lifecycle + envKeys: + - IMAGE_RESULTS_RETENTION_POLICY_AGENT - image: registry.redhat.io/ubi8/openjdk-17@sha256:e8cc2e476282b75d89c73057bfa713db22d72bdb2808d62d981a84c33beb2575 replaceLocations: envTargets: diff --git a/operatorhub/openshift/release-artifacts/bundle/manifests/openshift-pipelines-operator-rh.clusterserviceversion.yaml b/operatorhub/openshift/release-artifacts/bundle/manifests/openshift-pipelines-operator-rh.clusterserviceversion.yaml index 0a521f040f..6b9c83e5f2 100644 --- a/operatorhub/openshift/release-artifacts/bundle/manifests/openshift-pipelines-operator-rh.clusterserviceversion.yaml +++ b/operatorhub/openshift/release-artifacts/bundle/manifests/openshift-pipelines-operator-rh.clusterserviceversion.yaml @@ -895,6 +895,8 @@ spec: value: registry.redhat.io/openshift-pipelines/tekton-results-api-rhel8@ - name: IMAGE_RESULTS_TEKTON_RESULTS_WATCHER value: registry.redhat.io/openshift-pipelines/tekton-results-watcher-rhel8@ + - name: IMAGE_RESULTS_RETENTION_POLICY_AGENT + value: registry.redhat.io/openshift-pipelines/tekton-results-retention-policy-agent-rhel8@ - name: IMAGE_HUB_TEKTON_HUB_DB_MIGRATION value: registry.redhat.io/openshift-pipelines/pipelines-hub-db-migration-rhel8@ - name: IMAGE_HUB_TEKTON_HUB_API