mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-13 21:34:40 +03:00
component_hash_update: support calico_crds (#12122)
- add support for "no_arch" downloads: arch-indendendant files such as YAML manifests, helm charts, etc. - wire calico_crds with it.
This commit is contained in:
@@ -7,6 +7,11 @@ infos = {
|
||||
"url": "https://github.com/projectcalico/calico/releases/download/v{version}/SHA256SUMS",
|
||||
"graphql_id": "R_kgDOA87D0g",
|
||||
},
|
||||
"calico_crds_archive": {
|
||||
"url": "https://github.com/projectcalico/calico/archive/v{version}.tar.gz",
|
||||
"graphql_id": "R_kgDOA87D0g",
|
||||
"binary": True,
|
||||
},
|
||||
"ciliumcli_binary": {
|
||||
"url": "https://github.com/cilium/cilium-cli/releases/download/v{version}/cilium-{os}-{arch}.tar.gz.sha256sum",
|
||||
"graphql_id": "R_kgDOE0nmLg",
|
||||
|
||||
@@ -47,14 +47,13 @@ arch_alt_name = {
|
||||
"arm64": "aarch64",
|
||||
"ppc64le": None,
|
||||
"arm": None,
|
||||
"no_arch": None,
|
||||
}
|
||||
|
||||
# TODO: downloads not supported
|
||||
# helm_archive: PGP signatures
|
||||
# calico_crds_archive: different yaml structure (in our download)
|
||||
|
||||
# TODO:
|
||||
# noarch support -> k8s manifests, helm charts
|
||||
# different verification methods (gpg, cosign) ( needs download role changes) (or verify the sig in this script and only use the checksum in the playbook)
|
||||
# perf improvements (async)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user