Add a label to the S3User's Secret to allow label matching and speed up fetching the secret
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- go, kubernetes
调研方向
从 controllers/user_controller.go 的 408-438 行附近开始,然后阅读链接的 Operator SDK client list 示例,了解 label matching。跟踪 S3User secret 的创建和获取方式,并决定如何处理预先存在的 secret。完成标准是 matching 不再列出 namespace 中的每个 secret,并且现有的 S3User secret 有明确的 label migration 路径。
由索引模型根据 Issue 内容生成。
描述
As of current version, the user controller lists every secret in a namespace to find the one secret matching a S3User, which is fairly inefficient :
This could benefit from a dedicated label add to the secret when it's created. This is not difficult in itself, but requires some thought regarding pre-existing secrets (as in : Should the operator reconcile secrets to add labels ? Should this be managed with a small one-shot script to add the label to every S3User secret ?)
- 主要语言
- Go
- 星标
- 66
- 派生
- 16
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
InseeFrLab/s3-operator 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 65/100
InseeFrLab/s3-operator#145 ·
-
Existence checks depend on MinIO error codes; decide policy/user existence from list calls instead未关闭
难度 4/5 3-5 天 新手友好度 72/100
InseeFrLab/s3-operator#144 · 2 条评论 ·
-
难度 3/5 1-2 天 新手友好度 45/100
InseeFrLab/s3-operator#136 ·
-
难度 4/5 3-5 天 新手友好度 48/100
InseeFrLab/s3-operator#135 ·
-
难度 2/5 1-3 小时 新手友好度 58/100
InseeFrLab/s3-operator#113 ·
查看 InseeFrLab/s3-operator 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
-
[FEATURE]: Set fieldPath and reason on the CEL validation rules可能已有人在做 @bjosv 今天认领。 未关闭enhancement needs-triage
难度 2/5 1-3 小时 新手友好度 72/100
valkey-io/valkey-operator#618 ·
维护者通常 3 天内回复
-
agent-butler-finding bug
难度 2/5 1-3 小时 新手友好度 82/100
jordansmall/spindrift#6414 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
Icinga/icinga-kubernetes#294 ·
维护者通常 4 天内回复
-
kind/design sig/ui
难度 1/5 1 小时以内 新手友好度 92/100
kubermatic/dashboard#8449 ·
维护者通常 1 天内回复