변환 yaml 수정
This commit is contained in:
@@ -178,7 +178,7 @@ def save_split(data, out_dir):
|
||||
rendered = item.pop("_rendered_annotations", "")
|
||||
name = item["metadata"]["name"]
|
||||
namespace = item["metadata"].get("namespace", "default")
|
||||
path = Path(out_dir) / f"{namespace}_{name}.yaml"
|
||||
path = Path(out_dir) / f"{namespace}__{name}.yaml"
|
||||
|
||||
with open(path, "w") as f:
|
||||
yaml.dump(item, f)
|
||||
|
||||
Reference in New Issue
Block a user