Skip to content

Commit

Permalink
Temporary hack for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ddl-ebrown committed Jul 3, 2023
1 parent 3237e10 commit 36a7546
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/controller/imagebuild/component/builddispatcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ func (c *BuildDispatcherComponent) Reconcile(ctx *core.Context) (ctrl.Result, er
// Extracts cluster secrets into data to pass to buildkit
log.Info("Processing references to build secrets")
secretsReadSeq := txn.StartSegment("cluster-secrets-read")
// HACK: hardcode values for testing purposes
obj.Spec.Secrets = append(obj.Spec.Secrets,
hephv1.SecretReference{Namespace: "domino-compute", Name: "ethan-test-hephaestus"})

secretsData, err := secrets.ReadSecrets(ctx, obj, log, ctx.Config, ctx.Scheme)
if err != nil {
err = fmt.Errorf("cluster secrets processing failed: %w", err)
Expand Down

0 comments on commit 36a7546

Please sign in to comment.