Skip to content

Commit

Permalink
Merge pull request #160 from yashsingh74/update-registry
Browse files Browse the repository at this point in the history
Update registry k8s.gcr.io -> registry.k8s.io
  • Loading branch information
k8s-ci-robot authored Feb 17, 2023
2 parents a933fc3 + 74e76a0 commit 6953895
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/integration/sign_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func TestIsImageSigned(t *testing.T) {
},
{
// k8s/pause ~feb 13 2022. not signed
"k8s.gcr.io/pause@sha256:a78c2d6208eff9b672de43f880093100050983047b7b0afe0217d3656e1b0d5f", false, false,
"registry.k8s.io/pause@sha256:a78c2d6208eff9b672de43f880093100050983047b7b0afe0217d3656e1b0d5f", false, false,
},
{
// nonexistent image, must fail
Expand All @@ -152,7 +152,7 @@ func TestIsImageSigned(t *testing.T) {

func TestImagesSigned(t *testing.T) {
signer := sign.New(sign.Default())
const repo = "k8s.gcr.io/security-profiles-operator/security-profiles-operator"
const repo = "registry.k8s.io/security-profiles-operator/security-profiles-operator"

// Running it twice should lead to the same results
for i := 0; i < 2; i++ {
Expand Down Expand Up @@ -212,7 +212,7 @@ func TestImagesSigned(t *testing.T) {

func TestVerifyImages(t *testing.T) {
signer := sign.New(sign.Default())
const repo = "k8s.gcr.io/security-profiles-operator/security-profiles-operator"
const repo = "registry.k8s.io/security-profiles-operator/security-profiles-operator"

// Running it twice should lead to the same results
for i := 0; i < 2; i++ {
Expand Down

0 comments on commit 6953895

Please sign in to comment.