talm init writes no .helmignore, so the whole project root is loaded as the chart
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 半日
- 初心者へのやさしさ
- 68/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- go, kubernetes
- 領域
- cli, infrastructure
調査の方向性
Start with the repro: run talm init --preset generic --name repro, copy the talm binary into the project, then run talm template --offline --file nodes/cp.yaml to see the 5 MiB chart-file error. Find where talm init and init --update write project files and add a .helmignore that keeps only Chart.yaml, values.yaml, templates/ and charts/. Done when the repro renders with the binary present and an existing project gets the file through init --update.
索引モデルが issue の本文から書いたものです。
説明
A large file in the project directory breaks every render. The render loads the project root as a Helm chart and nothing filters it, so every file there becomes part of the chart, and one file over Helm's 5 MiB per-file limit stops it:
failed to render templates: loading chart from "/path/to/project": chart file "talm" is larger than the maximum file size 5242880
I hit it with the talm binary in the project directory. hack/install.sh installs into PATH, so that is not the default layout. A Talos image or a backup dropped next to the project does the same.
It also means secrets.yaml, talm.key and talosconfig are read into the chart's Files on every render. No template uses them, and the loader has no reason to read them.
Repro:
talm init --preset generic --name repro --cluster-endpoint https://192.0.2.10:6443
sed -i'' -e 's|^advertisedSubnets: .*|advertisedSubnets: [192.0.2.0/24]|' values.yaml
echo '# talm: nodes=["192.0.2.10"], endpoints=["192.0.2.10"], templates=["templates/controlplane.yaml"]' > nodes/cp.yaml
cp "$(command -v talm)" .
talm template --offline --file nodes/cp.yaml
Both problems go away if talm init and init --update write a .helmignore that keeps only Chart.yaml, values.yaml, templates/ and charts/. Existing projects would get it through init --update.
- 主要言語
- Go
- スター
- 493
- フォーク
- 23
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cozystack/talm のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 2/5 1時間未満 初心者へのやさしさ 70/100
-
area/apply area/commands area/upgrade kind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
Correct local module testing instructions for Go sample contributors対応中かも @slievrly が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
internal/core: cleanAttachmentName splits a rune at the 255-byte cap and stores invalid UTF-8対応中かも @pacwestnobody が今日担当しました。 オープンgo good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Podiom/Podiom#427 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
TestLaunchGolden spends about 98 seconds on fake-agent exit delays under -race対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
factory:subtask
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
メンテナーはふだん 1 日以内に返信