From cafa2a2d9131c2f7ad8a9a59ac51454a09144528 Mon Sep 17 00:00:00 2001 From: Hongwei Liu Date: Mon, 11 Sep 2023 16:19:00 +0800 Subject: [PATCH] fix(STONEINTG-524): update NS of pipelines-as-code secret * update NS of pipelines-as-code secret since the NS has been changed to openshift-pipelines Signed-off-by: Hongwei Liu --- status/reporters.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/status/reporters.go b/status/reporters.go index be374095d..9667cbd08 100644 --- a/status/reporters.go +++ b/status/reporters.go @@ -69,7 +69,7 @@ func (r *GitHubReporter) getAppCredentials(ctx context.Context, pipelineRun *tek // Get the global pipelines as code secret pacSecret := v1.Secret{} - err = r.k8sClient.Get(ctx, types.NamespacedName{Namespace: "pipelines-as-code", Name: "pipelines-as-code-secret"}, &pacSecret) + err = r.k8sClient.Get(ctx, types.NamespacedName{Namespace: "openshift-pipelines", Name: "pipelines-as-code-secret"}, &pacSecret) if err != nil { return nil, err }