Skip to content

Commit

Permalink
fix kubeconfig permission
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobdotcosta committed Apr 18, 2024
1 parent fca6c4c commit cc8ca44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kind/kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -620,8 +620,8 @@ EOF
${KIND_EXPORT_KC_CMD}
succeeded "2" "Export kubeconfig..."
if [ ${KUBECONFIG_GEN} == "y" ] && [ "${ROOTLESS_CONTAINERS}" == 'n' ]; then
# chown $(whoami):$(whoami) ${KUBECONFIG_TGT}
chmod 644 ${KUBECONFIG_TGT}
sudo chown $(whoami):$(whoami) ${KUBECONFIG_TGT}
#sudo chmod 644 ${KUBECONFIG_TGT}
fi
set +e
note_start_task "2" "Connect the container registry to the kind network..."
Expand Down

0 comments on commit cc8ca44

Please sign in to comment.