diff --git a/peridot/builder/v1/workflow/infrastructure.go b/peridot/builder/v1/workflow/infrastructure.go index d5f6647..6f1ac38 100644 --- a/peridot/builder/v1/workflow/infrastructure.go +++ b/peridot/builder/v1/workflow/infrastructure.go @@ -578,6 +578,10 @@ func (c *Controller) CreateK8sPodActivity(ctx context.Context, req *ProvisionWor Name: "REAL_BUILD_ARCH", Value: imageArch, }, + { + Name: "TEMPORAL_NAMESPACE", + Value: viper.GetString("temporal.namespace"), + }, { Name: "KEYKEEPER_GRPC_ENDPOINT_OVERRIDE", Value: os.Getenv("KEYKEEPER_GRPC_ENDPOINT_OVERRIDE"), diff --git a/temporalutils/client.go b/temporalutils/client.go index 157d29c..ee57b06 100644 --- a/temporalutils/client.go +++ b/temporalutils/client.go @@ -95,6 +95,7 @@ func NewClient(opts client.Options) (client.Client, error) { return nil, err } opts.Namespace = bycNs + viper.Set("temporal.namespace", bycNs) return client.NewClient(opts) }