File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -57,22 +57,25 @@ jobs:
57
57
with :
58
58
python-version : 3.9
59
59
60
- - name : FIX Network issue
60
+ # https://github.com/helm/kind-action/issues/30
61
+ - name : FIX Kind on container issue
61
62
run : |
62
63
export KUBECONFIG=$HOME/.kube/config
63
64
export KIND_EXPERIMENTAL_DOCKER_NETWORK=${{ job.container.network }}
64
65
echo ${KIND_EXPERIMENTAL_DOCKER_NETWORK}
65
-
66
+ # Install Kind
66
67
[ $(uname -m) = x86_64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.22.0/kind-linux-amd64
67
68
chmod +x ./kind
68
69
sudo mv ./kind /usr/local/bin/kind
70
+ # Install Kind Cluster
69
71
kind create cluster \
70
72
--kubeconfig $KUBECONFIG \
71
73
--config=.github/workflows/kind-config.yaml \
72
74
--name action || true
75
+ # Install Kubectl
73
76
curl -LO https://dl.k8s.io/release/v1.29.2/bin/linux/amd64/kubectl
74
77
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
75
- docker ps -a
78
+ # Kubectl set context
76
79
kubectl config set-cluster kind-action --server=https://action-control-plane:6443
77
80
78
81
# - name: Create k8s Kind Cluster
You can’t perform that action at this time.
0 commit comments