s3Instance CRD is not included in the kustomization.yaml
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 58/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- go, kubernetes, yaml
调研方向
从 config/default/kustomization.yaml 和 config/crd/kustomization.yaml 开始,然后将其中的资源与 config/crd/bases/ 进行比较。在编辑之前,检查 kustomization 是否由 Operator Framework 生成。完成的标准是:渲染默认 kustomization 时包含 S3Instance CRD,且不需要下游 workaround。
由索引模型根据 Issue 内容生成。
描述
Bonjour!
It looks like the config/default/kustomization.yaml references config/crd/kustomization.yaml, but the latter does not include all of the CRDs defined in the config/crd/bases/ directory (it only omits the S3Instance CRD). I can make a PR editing the kustomization, but I can't tell if this is generated by the operator framework or not.
Merci beaucoup :)
So far my workaround is to explicitly reference the CRD from my downstream kustomization.yaml:
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- github.com/InseeFrLab/s3-operator/config/default?ref=v0.12.0
- github.com/InseeFrLab/s3-operator/config/prometheus?ref=v0.12.0
# As of v0.12.0 the s3instance CRD is excluded from the
# config/crd/kustomization.yaml template--we have to include it explicitly
- https://raw.githubusercontent.com/InseeFrLab/s3-operator/v0.12.0/config/crd/bases/s3.onyxia.sh_s3instances.yaml
namespace: s3-operator
- 主要语言
- 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 ·
-
难度 5/5 一周以上 新手友好度 30/100
InseeFrLab/s3-operator#112 · 1 个 reaction ·
查看 InseeFrLab/s3-operator 的全部 Issue
相似的 Issue
-
type/bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 86/100
eugenioenko/autentico#605 ·
维护者通常 1 天内回复
-
Test failure: github.com/teramoby/speedle-plus/cmd/spctl/command TestCLITokenInputAndEnvironment未关闭test-failure
难度 2/5 1-3 小时 新手友好度 72/100
teramoby/speedle-plus#298 ·
维护者通常 1 天内回复
-
hive
难度 1/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
area/admin/user area/internationalization automated-triage issue/auto-triaged type/bug
难度 1/5 1 小时以内 新手友好度 76/100
grafana/grafana#137281 · 1 条评论 ·
维护者通常 1 天内回复