From 32e79a0330462b2088845ab4dd24c2ae26422030 Mon Sep 17 00:00:00 2001 From: wuhuizuo Date: Wed, 6 Dec 2023 18:26:50 +0800 Subject: [PATCH] feat(apps/prod/tekton/setup): enable cloudevent emit and add sink url (#825) Notice: currently we need update the config map `tekton-pipelines/feature-flags` manually because of the operator not support the congfiguration before v0.63.0. Signed-off-by: wuhuizuo --------- Signed-off-by: wuhuizuo --- apps/prod/tekton/setup/operator-config.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/prod/tekton/setup/operator-config.yaml b/apps/prod/tekton/setup/operator-config.yaml index 5547bb28e..e418419e4 100644 --- a/apps/prod/tekton/setup/operator-config.yaml +++ b/apps/prod/tekton/setup/operator-config.yaml @@ -18,6 +18,7 @@ spec: enable-tekton-oci-bundles: true require-git-ssh-secret-known-hosts: false running-in-environment-with-injected-sidecars: false # set it to `true` when Istio installed and enabled auto sidecar injecting. + send-cloudevents-for-runs: true ###### metrics items ######## metrics.pipelinerun.duration-type: histogram @@ -39,6 +40,8 @@ spec: key: dedicated operator: Equal value: test-infra + default-cloud-events-sink: http://cloudevents-server.apps.svc/events + trigger: default-service-account: "default" enable-api-fields: alpha # stable | alpha