macOS
brew install k2tflocal Homebrew formula metadata
sudo port install k2tfMacPorts ports tree · sysutils/k2tf/Portfile · 来源: api.github.com
安装
brew install k2tflocal Homebrew formula metadata
sudo port install k2tfMacPorts ports tree · sysutils/k2tf/Portfile · 来源: api.github.com
nix profile install nixpkgs#k2tfnixpkgs package indexes · pkgs/by-name/k2/k2tf/package.nix · 来源: api.github.com
scoop install main/k2tfScoop official bucket manifest trees · bucket/k2tf.json · 来源: api.github.com
概览
Kubernetes YAML to Terraform HCL converter
历史
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.
安全态势
infrastructure mutation or orchestration signal.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
k2tf | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/sl1pm4t/k2tf
安装元数据
| 软件包键 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | k2tf |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
k2tf
nix profile install nixpkgs#k2tfk2tf
sudo port install k2tfmain/k2tf
scoop install main/k2tf来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.