feat(cli): support custom CA certificates and default KinD configurations for local environments
メンテナーはふだん 3 日以内に返信
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 活発
- 技術スタック
- go, kubernetes
調査の方向性
リポジトリのファイルやテストは指定されていません。まず、CLI の local/init ライフサイクルと、KinD および Crossplane Package Manager の管理方法を追跡し、次に提案されている ~/.crossplane/config.yaml、--ca-cert-path、--kind-config のインターフェースを確認してください。選択した構成がローカル環境でネイティブにサポートされ、カスタム CA がパッケージの pull で信頼されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
What problem are you facing?
When using the Crossplane CLI in corporate environments, we often have to interact with private OCI registries secured by a custom Enterprise Certificate Authority (CA) to pull or push Crossplane Packages (.xpkg).
When bootstrapping local development environments (especially when tools wrap KinD under the hood using container runtimes like Colima or Podman), the Crossplane Package Manager pod fails to pull packages because it does not trust the private registry's CA.
Currently, there is no native way to pass a custom CA or a default KinD configuration through the Crossplane CLI. Users are forced to rely on brittle post-installation workarounds, such as shell wrappers or running automated scripts (kubectl create secret + kubectl patch deployment crossplane to mount the CA) right after the local cluster "pops". This creates friction and hurts the local Developer Experience (DX), especially when dealing with the specific file-sharing and permission constraints of Colima and Podman.
How could Crossplane help solve your problem?
Crossplane could solve this by allowing users to inject custom CAs and local environment configurations natively through the CLI. We envision two possible approaches:
- A Global CLI Configuration File: Support a global file (e.g.,
~/.crossplane/config.yaml) where users can define a default path for custom CAs or a default KinD configuration override. This would be automatically applied whenever a local environment lifecycle is managed by the CLI. - Dedicated CLI Flags: Add explicit flags to local/init commands, such as:
--ca-cert-path=/path/to/enterprise-ca.crt: This would automatically handle creating the Kubernetes Secret and patching the Crossplane deployment to mount the CA in the appropriate trust store path.--kind-config=/path/to/custom-kind.yaml: This would allow users to pass advanced mounting options, which is crucial for mapping local certificate directories when using Colima or Podman.
- 主要言語
- Go
- スター
- 19
- フォーク
- 33
- 平均マージ
- 3日 10時間
- マージ済み PR(30日)
- 24
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
crossplane/cli のほかの issue
-
`credsStore` in docker config causes unit test failures対応中かも @sujeito-operator が 48 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
crossplane/cli#282 ·
メンテナーはふだん 3 日以内に返信
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
crossplane/cli#410 ·
メンテナーはふだん 3 日以内に返信
-
render: label the Docker containers and networks render creates対応中かも @jcogilvie が 5 日前に担当しました。 オープンenhancement
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
crossplane/cli#401 ·
メンテナーはふだん 3 日以内に返信
-
render: interrupting with Ctrl+C (SIGINT/SIGTERM) leaks Function containers, the render container, and the network対応中かも @jcogilvie が 5 日前に担当しました。 オープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
crossplane/cli#400 ·
メンテナーはふだん 3 日以内に返信
-
render: Function cleanup failures are invisible without --verbose対応中かも @jcogilvie が 5 日前に担当しました。 オープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 70/100
crossplane/cli#399 ·
メンテナーはふだん 3 日以内に返信
似ている issue
-
automation models
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
bug llm-stack needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
P3 Type: Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
grpc/grpc-go#9483 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
-
needs-area needs-kind needs-priority needs-status needs-triage
難易度 2/5 1時間未満 初心者へのやさしさ 85/100
cncf/automation#736 ·
メンテナーはふだん 1 日以内に返信
-
Signing PIN can't be collected in-TUI: gpg helper never opts into credential handling, and the PIN pattern misses ssh-keygen's wording対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
jesseduffield/lazygit#6094 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信