Support Azure workload identity for Azure Blob object storage
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
调研方向
The account-key requirement lives in secret.go, so start there to see where the Azure Blob key is read and how it is wired into the storage settings. Check the settings.py template that the operator renders, plus the pod_labels and sa_annotations options, to see where a token_credential would go. Done means a workload-identity configuration works without an account key, while the key path still works and the azure-identity package is present in the shipped images.
由索引模型根据 Issue 内容生成。
描述
Is your feature request related to a problem? Please describe.
Azure Blob storage requires an account key (secret.go), so there's no way to use workload identity and avoid long-lived keys.
Describe the solution you'd like
Support workload identity. django-storages already supports token_credential (e.g. DefaultAzureCredential()), and the pod labels / SA annotations needed can already be set via pod_labels and sa_annotations. So it'd be:
- make the account key optional
- set token_credential in settings.py when no key is given
- ship azure-identity in the images
Describe alternatives you've considered
Account key, which works but is a long-lived secret.
Additional context
Happy to help test or send a PR.
- 主要语言
- Go
- 星标
- 88
- 派生
- 69
- 平均合并
- 3 天 3 小时
- 30 天内合并 PR
- 1
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pulp/pulp-operator 的其他 Issue
-
settings.py flaps between reconciles: needsMigrationSetting depends on map iteration order可能已有人在做 @fontaineajulien 于 24 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
pulp/pulp-operator#1691 ·
-
Documentation for metadata signing (APT/RPM) removed but still relevant可能重新可做 关联的 PR 已关闭且未合并。 未关闭Issue Triage-Needed
难度 2/5 1-3 小时 新手友好度 68/100
pulp/pulp-operator#1644 ·
-
Use /livez/ for the API liveness probe and a cheaper readiness probe可能已有人在做 @caiconkhicon 于 20 天前认领。 未关闭Feature Triage-Needed
难度 3/5 半天 新手友好度 62/100
pulp/pulp-operator#1696 · 1 条评论 ·
-
Issue Triage-Needed
难度 3/5 1-2 天 新手友好度 74/100
pulp/pulp-operator#1685 ·
-
Feature Triage-Needed
难度 5/5 一周以上 新手友好度 35/100
pulp/pulp-operator#1682 ·
查看 pulp/pulp-operator 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
cloudevents/sdk-go#1346 ·
-
needs-triage
难度 2/5 1-3 小时 新手友好度 82/100
kubernetes/cloud-provider-aws#1517 · 1 条评论 ·
维护者通常 1 天内回复
-
agent-butler-finding chore
难度 1/5 1 小时以内 新手友好度 88/100
jordansmall/spindrift#6221 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 3 天内回复