feat: working helm template

This commit is contained in:
2023-04-07 00:06:38 +02:00
parent 44575dd763
commit 3ab20c8a87
7 changed files with 68 additions and 42 deletions

View File

@@ -3,6 +3,7 @@ package main
import (
"context"
"fmt"
"log"
"os"
"dagger.io/dagger"
@@ -41,6 +42,9 @@ func format(ctx context.Context, optsFuncs ...OptsFunc) error {
}
}
log.Println("dagger")
log.Printf("%+v", os.Environ())
client, err := dagger.Connect(ctx, dagger.WithLogOutput(os.Stderr))
if err != nil {
return fmt.Errorf("could not connect to dagger: %v", err)