Skip to content

Commit 4a1e41c

Browse files
committed
feat(posts): change karpenter provisioning process
1 parent 1a8866f commit 4a1e41c

File tree

2 files changed

+595
-180
lines changed

2 files changed

+595
-180
lines changed

.github/workflows/post_tests.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -84,19 +84,19 @@ jobs:
8484
POST_FILES_ARRAY+=("$(find _posts -type f -name "*${POST_FILE}*.md")")
8585
done
8686
87-
if grep -q eksctl "${POST_FILES_ARRAY[@]}" && ! command -v eksctl &> /dev/null ; then
87+
if grep -q 'eksctl ' "${POST_FILES_ARRAY[@]}" && ! command -v eksctl &> /dev/null ; then
8888
echo "*** Installing eksctl"
89-
gh release download --repo weaveworks/eksctl --pattern eksctl_Linux_amd64.tar.gz --output - | sudo tar xz -C /usr/local/bin/
89+
gh release download --repo eksctl-io/eksctl --pattern eksctl_Linux_amd64.tar.gz --output - | sudo tar xz -C /usr/local/bin/
9090
eksctl version
9191
fi
9292
93-
if grep -q cilium "${POST_FILES_ARRAY[@]}" && ! command -v cilium &> /dev/null ; then
93+
if grep -q 'cilium ' "${POST_FILES_ARRAY[@]}" && ! command -v cilium &> /dev/null ; then
9494
echo "*** Installing cilium"
9595
gh release download --repo cilium/cilium-cli --pattern cilium-linux-amd64.tar.gz --output - | sudo tar xz -C /usr/local/bin/
9696
cilium version --client
9797
fi
9898
99-
if grep -q velero "${POST_FILES_ARRAY[@]}" && ! command -v velero &> /dev/null ; then
99+
if grep -q 'velero ' "${POST_FILES_ARRAY[@]}" && ! command -v velero &> /dev/null ; then
100100
echo "*** Installing velero"
101101
gh release download --repo vmware-tanzu/velero --pattern "velero-*-linux-amd64.tar.gz" --output - | sudo tar xz -C /usr/local/bin/ --strip-components 1 --wildcards "*/velero"
102102
velero version --client-only

0 commit comments

Comments
 (0)