Skip to content

Commit

Permalink
Merge pull request kubeedge#5632 from luomengY/fix_keadm_init_profile
Browse files Browse the repository at this point in the history
fix keadm init profile in v1.17.0 for keadm_e2e test.
  • Loading branch information
kubeedge-bot authored May 28, 2024
2 parents 5efd287 + 8b8fd62 commit 77891f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/scripts/keadm_compatibility_e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function start_kubeedge() {
export MASTER_IP=`kubectl get node test-control-plane -o jsonpath={.status.addresses[0].address}`
export KUBECONFIG=$HOME/.kube/config
docker run --rm kubeedge/installation-package:$IMAGE_TAG cat /usr/local/bin/keadm > /usr/local/bin/keadm && chmod +x /usr/local/bin/keadm
/usr/local/bin/keadm init --advertise-address=$MASTER_IP --profile version --set cloudCore.service.enable=false --kube-config=$KUBECONFIG --force
/usr/local/bin/keadm init --advertise-address=$MASTER_IP --kubeedge-version $CLOUD_EDGE_VERSION --set cloudCore.service.enable=false --kube-config=$KUBECONFIG --force

# ensure tokensecret is generated
while true; do
Expand Down
2 changes: 1 addition & 1 deletion tests/scripts/keadm_e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function start_kubeedge() {
export MASTER_IP=`kubectl get node test-control-plane -o jsonpath={.status.addresses[0].address}`
export KUBECONFIG=$HOME/.kube/config
docker run --rm kubeedge/installation-package:$IMAGE_TAG cat /usr/local/bin/keadm > /usr/local/bin/keadm && chmod +x /usr/local/bin/keadm
/usr/local/bin/keadm init --advertise-address=$MASTER_IP --profile version --set cloudCore.service.enable=false --kube-config=$KUBECONFIG --force
/usr/local/bin/keadm init --advertise-address=$MASTER_IP --kubeedge-version $KUBEEDGE_VERSION --set cloudCore.service.enable=false --kube-config=$KUBECONFIG --force

# ensure tokensecret is generated
while true; do
Expand Down

0 comments on commit 77891f2

Please sign in to comment.