Use calico crds.yaml for KDD CRDs and drop tarball artifacts (#12985)

This commit is contained in:
Srishti Jaiswal
2026-02-12 20:40:00 +05:30
committed by GitHub
parent 46058349ce
commit 31c33015c4
7 changed files with 33 additions and 40 deletions

View File

@@ -27,8 +27,8 @@
- name: Stop if supported Calico versions
assert:
that:
- "calico_version in calico_crds_archive_checksums.no_arch.keys()"
msg: "Calico version not supported {{ calico_version }} not in {{ calico_crds_archive_checksums.no_arch.keys() }}"
- "calico_version in calico_crds_checksums.no_arch.keys()"
msg: "Calico version not supported {{ calico_version }} not in {{ calico_crds_checksums.no_arch.keys() }}"
run_once: true
delegate_to: "{{ groups['kube_control_plane'][0] }}"

View File

@@ -127,12 +127,10 @@
- calico_datastore == "kdd"
block:
- name: Calico | Create calico manifests for kdd
assemble:
src: "{{ local_release_dir }}/calico-{{ calico_version }}-kdd-crds/crd/"
copy:
src: "{{ local_release_dir }}/calico-{{ calico_version }}-kdd-crds/crds.yaml"
dest: "{{ kube_config_dir }}/kdd-crds.yml"
mode: "0644"
delimiter: "---\n"
regexp: ".*\\.yaml"
remote_src: true
- name: Calico | Create Calico Kubernetes datastore resources