Skip to content

Commit

Permalink
Merge pull request #14 from astoycos/fix-xdp-priavte
Browse files Browse the repository at this point in the history
fix xdp private test
  • Loading branch information
astoycos authored Jun 3, 2024
2 parents bbfd3dc + 65cc891 commit fd6afe8
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 fd6afe8

Please sign in to comment.