Move directory
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
---
|
||||
name: chart_updater
|
||||
description: Pull a Helm chart version and extract it into manifests/helm/<chart>/<version>.
|
||||
---
|
||||
|
||||
# chart_updater
|
||||
|
||||
Pull a chart from helm repo and create a versioned directory in dip-catalog.
|
||||
`from_version`이 주어지면 이전 버전 디렉토리에서 아래 파일을 새 버전 디렉토리로 복사한다 (이미 존재하는 파일은 건너뜀):
|
||||
- `BUILD-README.md` — 복사 + `from_version` → `version` 버전 번호 치환
|
||||
- `CUSTOM-README.md` — 그대로 복사
|
||||
- `custom-values.yaml` — 그대로 복사
|
||||
|
||||
## Input schema
|
||||
```json
|
||||
{
|
||||
"catalog_root": "string",
|
||||
"chart": "string",
|
||||
"repo": "string",
|
||||
"version": "string",
|
||||
"from_version": "string (optional)"
|
||||
}
|
||||
```
|
||||
|
||||
## Output schema
|
||||
```json
|
||||
{
|
||||
"success": "boolean",
|
||||
"already_existed": "boolean",
|
||||
"dest_dir": "string",
|
||||
"copied_files": ["string"]
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user