s3Instance CRD is not included in the kustomization.yaml

オープン
#113 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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 はありません

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

InseeFrLab/s3-operator のほかの issue

InseeFrLab/s3-operator の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。