Skip to content

Commit

Permalink
fix xdp private test
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Stoycos <astoycos@redhat.com>
  • Loading branch information
astoycos committed Jun 3, 2024
1 parent 8abeb40 commit 65cc891
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/integration/xdp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const (
var xdpPassPrivateImageCreds = os.Getenv("XDP_PASS_PRIVATE_IMAGE_CREDS")

func TestXdpPassPrivate(t *testing.T) {
t.Log("deploying secret for privated xdp bytecode image in the bpfman namespace")
t.Log("deploying secret for private xdp bytecode image in the bpfman namespace")
// Generated from
/*
kubectl create secret -n bpfman docker-registry regcred --docker-server=quay.io --docker-username=<USERNAME> --docker-password=<CREDS>
Expand Down Expand Up @@ -60,6 +60,8 @@ func TestXdpPassPrivate(t *testing.T) {
yamlData, err := yaml.Marshal(xdpPassPrivateSecret)
require.NoError(t, err)

t.Logf("Built secret: %+v", yamlData)

require.NoError(t, clusters.ApplyManifestByYAML(ctx, env.Cluster(), string(yamlData)))
addCleanup(func(ctx context.Context) error {
cleanupLog("cleaning up xdp pass private secret")
Expand Down

0 comments on commit 65cc891

Please sign in to comment.