Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update registry k8s.gcr.io -> registry.k8s.io #160

Merged
merged 1 commit into from
Feb 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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