From f653b01d37f039021388408a015ac51766aafb65 Mon Sep 17 00:00:00 2001 From: Przemek Pokrywka <12400578+dekiel@users.noreply.github.com> Date: Tue, 21 Nov 2023 14:01:50 +0100 Subject: [PATCH] Template-operator release requires GitHub bot token for uploading assets to the release. (#9358) --- .../workloads/kymaBotGithubSecretTrustedUsage.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/prow/cluster/resources/gatekeeper-constraints/workloads/kymaBotGithubSecretTrustedUsage.yaml b/prow/cluster/resources/gatekeeper-constraints/workloads/kymaBotGithubSecretTrustedUsage.yaml index 78dd41d3dd47..11b1a6e1048b 100644 --- a/prow/cluster/resources/gatekeeper-constraints/workloads/kymaBotGithubSecretTrustedUsage.yaml +++ b/prow/cluster/resources/gatekeeper-constraints/workloads/kymaBotGithubSecretTrustedUsage.yaml @@ -164,3 +164,9 @@ spec: - image: "europe-docker.pkg.dev/kyma-project/prod/k8s-prow/sidecar:*" command: [] args: [] + # Upload template-operator release assets to the GitHub release. https://github.com/kyma-project/test-infra/issues/9338 + - image: "europe-docker.pkg.dev/kyma-project/prod/testimages/buildpack-go:*" + command: + - /tools/entrypoint + args: [] + entrypoint_options: '^{.*"args":\["\.\/scripts\/release\/upload_assets\.sh","ci"\],"container_name":"test",.*}$'