Automic VaultAutomic Vault

brew

k2tf を Homebrew, MacPorts, Nix, scoop でインストール

k2tf のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install k2tf

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install k2tf

MacPorts ports tree · sysutils/k2tf/Portfile · ソース: api.github.com

Linux

Nix確認済み · 92%
nix profile install nixpkgs#k2tf

nixpkgs package indexes · pkgs/by-name/k2/k2tf/package.nix · ソース: api.github.com

Windows

Scoop確認済み · 92%
scoop install main/k2tf

Scoop official bucket manifest trees · bucket/k2tf.json · ソース: api.github.com

概要

パッケージ概要

Kubernetes YAML to Terraform HCL converter

コマンドとエイリアス

  • k2tf

履歴

プロジェクトの歴史と使われ方

k2tf is a focused converter that turns Kubernetes API objects written as YAML into Terraform HCL suitable for the Terraform Kubernetes provider.

プロジェクトの歴史

The project started publishing releases in February 2019. Its README defines a narrow purpose: convert Kubernetes YAML into Terraform configuration rather than manage clusters or replace Terraform itself.

採用の歴史

k2tf fits teams that already have Kubernetes manifests but want Terraform-managed resources. Its adoption is niche because the need is specific, but package-manager presence in Homebrew, MacPorts, Nix, and Scoop shows enough CLI demand to keep it distributed.

使われ方

Users feed Kubernetes YAML files or directories to `k2tf` and receive `.tf` output compatible with the Terraform Kubernetes provider. It is most useful during migrations from manifest-based workflows to Terraform-managed Kubernetes resources.

パッケージ好きにとっての重要性

k2tf is a small but very package-nerdy bridge tool: it exists because two declarative ecosystems, Kubernetes YAML and Terraform HCL, overlap without sharing a native file format.

タイムライン

  • 2019: k2tf v0.1.0 was released in February.
  • 2021: v0.6.0 updated the Terraform Kubernetes provider dependency and noted Homebrew core migration documentation.
  • 2024: v0.8.0 was published.

Related projects

  • k2tf is related to the Terraform Kubernetes provider, Kubernetes manifests, and sibling conversion tools such as tfk8s.

セキュリティ状態

リスクレベル: orange

infrastructure mutation or orchestration signal.

リスク分類器

リスク orange · 信頼度 中 · infrastructure

理由

  • infrastructure mutation or orchestration signal

信号

  • text:kubernetes

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 10 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
k2tfcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-26
マネージャ版0.8.0
マネージャ更新日
ローカルデータOK
上流最新
検出された最新v0.8.0

https://github.com/sl1pm4t/k2tf

  • 情報No package-manager update timestamp was available.信頼度 低

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:k2tf
バージョン0.8.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/k2tf
ホームページhttps://github.com/sl1pm4t/k2tf
リポジトリhttps://github.com/sl1pm4t/k2tf
上流ドキュメントhttps://github.com/sl1pm4t/k2tf#readme
ライセンスMPL-2.0
ソースアーカイブhttps://github.com/sl1pm4t/k2tf/archive/refs/tags/v0.8.0.tar.gz
ビルド依存関係go
Bottle利用可能 (対象 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namek2tf
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

k2tf

nix profile install nixpkgs#k2tf
  • normalized package name match
  • 一致条件: K2tf
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/k2/k2tf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

k2tf

sudo port install k2tf
  • normalized package name match
  • 一致条件: K2tf
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/k2tf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/k2tf

scoop install main/k2tf
  • normalized package name match
  • 一致条件: K2tf
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/k2tf.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment