mirror of
https://github.com/foomo/posh-providers.git
synced 2025-10-16 12:35:41 +00:00
feat(foomo/beam): remove cwd
This commit is contained in:
parent
83168e088b
commit
29f8570451
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user