vela_get_application_manifest
Export an application's YAML manifest as either the latest rendered configuration (source=latest) or the actual running CR (source=running) for GitOps migration, backup, or auditing.
Instructions
导出应用的 Application CR YAML 清单(GitOps 迁移 / 备份 / 审计用)。
source=latest 导出最新渲染配置;source=running 导出集群中实际运行的 CR。 基于 compare 接口的 YAML 字段实现。 对应 API:POST /api/v1/applications/{app}/compare
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | Yes | 环境名 | |
| source | No | 导出来源:latest(最新渲染配置)或 running(集群运行态 CR) | latest |
| app_name | Yes | 应用名称 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |