Skip to content

Instantly share code, notes, and snippets.

@kahboom
Last active March 18, 2024 14:18
Show Gist options
  • Save kahboom/3294d64b5186b3c79b68bd78923ebec5 to your computer and use it in GitHub Desktop.
Save kahboom/3294d64b5186b3c79b68bd78923ebec5 to your computer and use it in GitHub Desktop.
Testing the PRs

Testing the operator PR: securesign/secure-sign-operator#268

  1. Log into your OpenShift cluster
  2. Checkout the dev branch:
git fetch origin
git checkout --track origin/dev
  1. In controllers/constants/images.go, update the Rekor Search UI container image to point to rekor-search-ui built from my most recent commit in this PR: securesign/rekor-search-ui#37

Replace this line:

RekorSearchUiImage = "quay.io/redhat-user-workloads/rhtas-tenant/rekor-search-ui/rekor-search-ui@sha256:6ba83b2e09d77c0e3cc21739cb51c6639a9a8586de9b8e9924983795dad4f9ba"

With this:

RekorSearchUiImage = "quay.io/kahboom/rekor-search-ui@sha256:68a21610cd7de9c34466fed181fb3b26e527906e194f90657ab3c785b2151c85"
  1. Proceed with normal development instructions: https://github.com/securesign/secure-sign-operator?tab=readme-ov-file#local-development
make install
make run

Testing the Helm chart PR: securesign/sigstore-ocp#205

  1. Log into your OpenShift cluster
  2. Checkout the dev branch:
git fetch origin
git checkout --track origin/dev
  1. In charts/trusted-artifact-signer/values.yaml, update the Rekor Search UI container image to point to rekor-search-ui built from my most recent commit in this PR: securesign/rekor-search-ui#37

Replace this line:

repository: redhat-user-workloads/rhtas-tenant/rekor-search-ui/rekor-search-ui
version: "sha256:6ba83b2e09d77c0e3cc21739cb51c6639a9a8586de9b8e9924983795dad4f9ba"

With this:

repository: kahboom/rekor-search-ui
version: "sha256:68a21610cd7de9c34466fed181fb3b26e527906e194f90657ab3c785b2151c85"
  1. Proceed with normal development instructions:
./tas-easy-install.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment