-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add specific K8s version when testing with Kind #45
Conversation
.github/workflows/build-image-pr.yml
Outdated
run: | | ||
echo "Download kustomize 5.2.1" | ||
mkdir $GITHUB_WORKSPACE/kustomize | ||
curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash -s "5.2.1" "$GITHUB_WORKSPACE/kustomize" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm concerned about the curl | bash. It's a potential security issue. Isn't there a binary we can download instead? The script is doing that anyway.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see here: #43 (comment)
@@ -51,6 +50,7 @@ jobs: | |||
if: env.BUILD_CONTEXT == 'main' | |||
shell: bash | |||
env: | |||
IMG: ${{ env.IMG_ORG }}/${{ env.IMG_REPO }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the IMG variable doesn't change in the step, it's better to keep it in the global env. wdyt?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, see here: #43 (comment)
Signed-off-by: Matteo Mortari <matteo.mortari@gmail.com>
0532a24
to
9b39bb3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rareddy, tarilabs The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[pull] main from kubeflow:main
Description
How Has This Been Tested?
uses Kind as part of GHA workflow
Merge criteria: