Skip to content

Temporal Cloud client/connection handling - #27

Merged
jaypipes merged 1 commit into
mainfrom
cloud-connection
Oct 19, 2026
Merged

jaypipes merged 1 commit into
mainfrom
cloud-connection

Conversation

@jaypipes

@jaypipes jaypipes commented Oct 17, 2026 •

Copy link
Copy Markdown
Collaborator

Builds on top of the temporalio/kube-temporal@v0.3.0 release and adds two new CRDs to the cloud.temporal.io/v1alpha1 APIGroup:

  • Connection represents configuration for a client connection to a Temporal Cloud API endpoint (i.e. the Temporal CloudOps gRPC API)
  • ClusterConnection is the cluster-scoped counterpart to Connection

Adds in a pkg/temporal/cloud/connection package that standardizes how to create a github.com/temporalio/cloud-sdk-go/client.Client object by reading an API Key from either a Kubernetes Secret or a file path defined in the ConnectionSpec.Credentials.APIKey struct.

Issue #7

@jaypipes
jaypipes requested a review from tomba7 October 17, 2026 17:33

@tomba7 tomba7 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the overall shape and honestly think this is a great commit to start building and iterating on.

Comment thread pkg/temporal/cloud/connection/loader.go
Comment thread pkg/temporal/cloud/connection/connection.go
Builds on top of the temporalio/kube-temporal@v0.3.0 release
and adds two new CRDs to the `cloud.temporal.io/v1alpha1` APIGroup:

* `Connection` represents configuration for a client connection to a
  Temporal Cloud API endpoint (i.e. the Temporal CloudOps gRPC API)
* `ClusterConnection` is the cluster-scoped counterpart to `Connection`

Adds in a `pkg/temporal/cloud/connection` package that standardizes how
to create a `github.com/temporalio/cloud-sdk-go/client.Client` object
by reading an API Key from either a Kubernetes Secret or a file path
defined in the `ConnectionSpec.Credentials.APIKey` struct.

Issue #7

Signed-off-by: Jay Pipes <jay.pipes@temporal.io>
@tomba7

tomba7 commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator

Thanks @jaypipes. Did a second pass and all looks good.

@jaypipes
jaypipes merged commit 8f12130 into main Oct 19, 2026
8 checks passed
@jaypipes
jaypipes deleted the cloud-connection branch October 19, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants