Skip to content

Commit 1df35b4

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

File tree

2 files changed

+655
-239
lines changed

2 files changed

+655
-239
lines changed

.github/workflows/post_tests.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ on:
2525
- my-favourite-krew-plugins-kubectl cheapest-amazon-eks
2626
- cilium-amazon-eks
2727
- secure-cheap-amazon-eks
28-
- velero-and-cert-manager secure-cheap-amazon-eks-with-pod-identities
28+
# - velero-and-cert-manager secure-cheap-amazon-eks-with-pod-identities
29+
- secure-cheap-amazon-eks-with-pod-identities
2930
action:
3031
type: choice
3132
description: Select action
@@ -84,19 +85,19 @@ jobs:
8485
POST_FILES_ARRAY+=("$(find _posts -type f -name "*${POST_FILE}*.md")")
8586
done
8687
87-
if grep -q eksctl "${POST_FILES_ARRAY[@]}" && ! command -v eksctl &> /dev/null ; then
88+
if grep -q 'eksctl ' "${POST_FILES_ARRAY[@]}" && ! command -v eksctl &> /dev/null ; then
8889
echo "*** Installing eksctl"
89-
gh release download --repo weaveworks/eksctl --pattern eksctl_Linux_amd64.tar.gz --output - | sudo tar xz -C /usr/local/bin/
90+
gh release download --repo eksctl-io/eksctl --pattern eksctl_Linux_amd64.tar.gz --output - | sudo tar xz -C /usr/local/bin/
9091
eksctl version
9192
fi
9293
93-
if grep -q cilium "${POST_FILES_ARRAY[@]}" && ! command -v cilium &> /dev/null ; then
94+
if grep -q 'cilium ' "${POST_FILES_ARRAY[@]}" && ! command -v cilium &> /dev/null ; then
9495
echo "*** Installing cilium"
9596
gh release download --repo cilium/cilium-cli --pattern cilium-linux-amd64.tar.gz --output - | sudo tar xz -C /usr/local/bin/
9697
cilium version --client
9798
fi
9899
99-
if grep -q velero "${POST_FILES_ARRAY[@]}" && ! command -v velero &> /dev/null ; then
100+
if grep -q 'velero ' "${POST_FILES_ARRAY[@]}" && ! command -v velero &> /dev/null ; then
100101
echo "*** Installing velero"
101102
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"
102103
velero version --client-only

0 commit comments

Comments
 (0)