From b73a14ad6a69542054643017c1485ca91f5dae91 Mon Sep 17 00:00:00 2001 From: Vincent Demeester Date: Wed, 22 Nov 2023 16:07:02 +0100 Subject: [PATCH] Update image to use registry.redhat.io Signed-off-by: Vincent Demeester --- test/e2e/e2e.bats | 8 ++++++++ values.yaml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/test/e2e/e2e.bats b/test/e2e/e2e.bats index 33e4112..08d6744 100644 --- a/test/e2e/e2e.bats +++ b/test/e2e/e2e.bats @@ -8,6 +8,14 @@ source ./test/helper/helper.sh run kubectl delete taskrun --all assert_success + kubectl delete secret regcred || true + run kubectl create secret generic regcred \ + --from-file=.dockerconfigjson=$HOME/.docker/config.json \ + --type=kubernetes.io/dockerconfigjson + assert_success + run kubectl patch serviceaccount default -p '{"imagePullSecrets": [{"name": "regcred"}]}' + assert_success + run tkn task start git \ --param="URL=https://github.com/tektoncd/community.git" \ --param="DEPTH=1" \ diff --git a/values.yaml b/values.yaml index 10e9138..9922dd4 100644 --- a/values.yaml +++ b/values.yaml @@ -1,6 +1,6 @@ --- images: - gitInit: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:latest + gitInit: registry.redhat.io/openshift-pipelines/pipelines-git-init-rhel8@sha256:c4b2183f7c7997bd401d86b33eefb637b3ef2fa90618e875106292cd69a15c14 annotations: tekton.dev/pipelines.minVersion: "0.38.0"