feat(foomo/beam): remove cwd

This commit is contained in:
Kevin Franklin Kim 2025-04-28 10:44:51 +02:00
parent 83168e088b
commit 29f8570451
No known key found for this signature in database

View File

@ -6,7 +6,6 @@ import (
gokaziconfig "github.com/foomo/gokazi/pkg/config"
"github.com/foomo/gokazi/pkg/gokazi"
"github.com/foomo/posh-providers/onepassword"
"github.com/foomo/posh/pkg/env"
"github.com/foomo/posh/pkg/log"
"github.com/spf13/viper"
)
@ -60,7 +59,6 @@ func New(l log.Logger, op *onepassword.OnePassword, gk *gokazi.Gokazi, opts ...O
inst.gk.Add("beam.cluster."+key, gokaziconfig.Task{
Name: "cloudflared",
Description: fmt.Sprintf("Cloudflare tunnel to cluster: '%s' [:%d]", key, value.Port),
Cwd: env.ProjectRoot(),
Args: []string{
"access", "tcp",
"--hostname", value.Hostname,
@ -72,7 +70,6 @@ func New(l log.Logger, op *onepassword.OnePassword, gk *gokazi.Gokazi, opts ...O
inst.gk.Add("beam.database."+key, gokaziconfig.Task{
Name: "cloudflared",
Description: fmt.Sprintf("Cloudflare tunnel to database: '%s' [:%d]", key, value.Port),
Cwd: env.ProjectRoot(),
Args: []string{
"access", "tcp",
"--hostname", value.Hostname,