Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Manage Temporal Cloud API keys

未关闭
#16 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 3 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
go, kubernetes

调研方向

Start with the existing Project resource's Cloud ID and ServiceAccount reference handling, since the issue asks to reuse that mechanism, and read the Cloud e2e suite to see how resources are created and cleaned up. Build the ApiKey CRD and Go types, then the lifecycle and the token Secret write, with unit tests for each. Done means applying an ApiKey CR creates the key and writes its token to the named Secret, and the gdt e2e test leaves no keys behind.

由索引模型根据 Issue 内容生成。

描述

Goal

A user can create a Temporal Cloud API key from Kubernetes and get its token in a Kubernetes Secret.

Tasks

  • ApiKey CRD and Go types
  • Create, update and delete the API key in Temporal Cloud, with deletion policy
  • Write the token to a Kubernetes Secret, handling a crash between create and the Secret write
  • Reference handling: the owner accepts either a Cloud ID or a reference to a ServiceAccount CR, reusing the mechanism from Project
  • Add a gdt e2e test for ApiKey to the Cloud e2e suite, and extend the cleanup to API keys
  • Docs and an example CR

Definition of done

  • Applying an ApiKey CR creates the key, and its token appears in the named Secret.
  • A reference to a ServiceAccount CR resolves once it's Ready.
  • Unit tests cover the lifecycle, the reference and the token Secret.
  • The ApiKey e2e test runs in the Cloud e2e CI job, and no API keys are left behind after a run.
  • The ApiKey resource is documented in the README, with an example CR.
主要语言
Go
星标
1
派生
0
平均合并
2 天 4 小时
30 天内合并 PR
7

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

temporalio/cloud-operator 的其他 Issue

查看 temporalio/cloud-operator 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。