k8sSearch with a fixed searchNamespace doesn't separate services and pods by namespace
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 30/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- kubernetes, rust
调研方向
首先跟踪 SecretClass 在 fixed searchNamespace 以及 service 和 pod scope 下的 k8sSearch 行为。比较提出的两种 namespace-label 格式,并确定 SecretClass 兼容性或迁移将如何实现。完成的标准是 namespaces 能够可靠地分离,同时不留下未解决的 breaking 行为。
由索引模型根据 Issue 内容生成。
描述
Affected version
23.7
Current and expected behavior
When using a SecretClass with a fixed searchNamespace, such as the following:
apiVersion: secrets.stackable.tech/v1alpha1
kind: SecretClass
metadata:
name: tls-manual
spec:
backend:
k8sSearch:
searchNamespace:
name: foo
then the service=bar scope will always search for a secret with the label secrets.stackable.tech/service=bar, with no way for the user to separate which namespace the secret should apply to.
This technically applies to all scopes, but node doesn't imply any namespaced behaviour.
Possible solution
- Change the format of namespace-specific labels to
<name>.<namespace>. - Add a new label
secrets.stackable.tech/namespace=<namespace>.
Either change would be breaking. We could mitigate this by adding an opt-in property to SecretClass that enables the namespace. It could be made opt-out in v1alpha2.
Alternatively, we could declare that fixed searchNs was always unusably broken, and that it isn't worth maintaining the old behaviour at all.
Additional context
No response
Environment
No response
Would you like to work on fixing this bug?
None
- 主要语言
- Rust
- 星标
- 13
- 派生
- 8
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 10
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
stackabletech/secret-operator 的其他 Issue
-
type/bug
难度 4/5 3-5 天 新手友好度 45/100
stackabletech/secret-operator#754 ·
-
难度 3/5 1-2 天 新手友好度 48/100
stackabletech/secret-operator#753 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 72/100
stackabletech/secret-operator#720 · 1 条评论 ·
-
customer-request type/bug
难度 3/5 1-2 天 新手友好度 38/100
stackabletech/secret-operator#666 · 2 条评论 ·
-
customer-request type/feature-improvement
stackabletech/secret-operator#630 · 7 条评论 · 已指派 1 人 ·
查看 stackabletech/secret-operator 的全部 Issue
相似的 Issue
-
bug github_actions
难度 2/5 1-3 小时 新手友好度 75/100
registrystack/registry-stack#1393 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
longbridge/gpui-kit#3223 ·
-
bug engine
难度 2/5 1-3 小时 新手友好度 65/100
rocky-data/rocky#2181 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
oasisprotocol/oasis-sdk#2523 ·
-
bot:ai-assisted component:indexer QA-roadmap status:untriaged
难度 2/5 1-3 小时 新手友好度 75/100
midnightntwrk/midnight-indexer#1557 ·