Fix the path of download.yml (#10711)

Signed-off-by: tu1h <lihai.tu@daocloud.io>
This commit is contained in:
Louis Tu
2023-12-12 20:47:27 +08:00
committed by GitHub
parent 81a3f81aa1
commit 8f2390a120
4 changed files with 6 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# After a new version of Kubernetes has been released,
# run this script to update roles/kubespray-defaults/main/download.yml
# run this script to update roles/kubespray-defaults/defaults/main/download.yml
# with new hashes.
import hashlib
@@ -10,7 +10,7 @@ import sys
import requests
from ruamel.yaml import YAML
MAIN_YML = "../roles/kubespray-defaults/main/download.yml"
MAIN_YML = "../roles/kubespray-defaults/defaults/main/download.yml"
def open_main_yaml():
yaml = YAML()