Issue #57: Switch dependency from community.kubernetes to kubernetes.core. (#58)

* Issue #57: Switch dependency from community.kubernetes to kubernetes.core.

* Issue #57: Rely on kubernetes.core install directly.

* Issue #57: Don't install kubernetes.core from source anymore.
This commit is contained in:
Jeff Geerling
2020-11-16 13:35:18 -06:00
committed by GitHub
parent 32a6a1fda3
commit 87cd174b96
12 changed files with 34 additions and 52 deletions

View File

@@ -12,11 +12,8 @@ build: clean
ansible-galaxy collection build
install-kubernetes-src:
mkdir -p ansible_collections/community/kubernetes
rm -rf ansible_collections/community/kubernetes/*
curl -L https://github.com/ansible-collections/community.kubernetes/archive/main.tar.gz | tar -xz -C ansible_collections/community/kubernetes --strip-components 1
ansible-galaxy collection install -p ansible_collections kubernetes.core
# TODO: Once we no longer rely on features in main we should drop the install-kubernetes-src dependency
install: build install-kubernetes-src
ansible-galaxy collection install -p ansible_collections community-okd-$(VERSION).tar.gz