-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Argo CD : checksum support for the install url #12266
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
base: master
Are you sure you want to change the base?
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: voondo The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Welcome @voondo! |
Hi @voondo. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
I noticed that there are no tests related to enabling ArgoCD in |
/ok-to-test |
At most, it can be related #12223, but not fixed. |
@tico88612 is it better now ? @ErikJiang I'm not sure how to add a test for that. Add a file like this ?
|
@tico88612 done |
Previously (before 800c84d), `download_file` tasks were invoked with a `sha256` (not a `checksum` parameter) and if not provided, downloads were done without verifying checksums. That patch changed things (`sha256` -> `checksums`), but it seems like unintentionally also made `checksum` required (no more `omit` fallbacks). At least some invocations of `download_file` do not provide a `checksum`, as reported here (for the ArgoCD addon): kubernetes-sigs#12223 The failure behavior is also appaling, because the download task (which references `checksum`) has `no_log` enabled by default (via the `unsafe_show_logs` variable, defaulting to `false`), so users would see a failing download, but could not easily figure out that it's actually an "undefined variable" error. While checksum support for ArgoCD is being added in kubernetes-sigs#12266 it's probably better to restore the ability to invoke `download_file` without `checksum`, so that: - any other current no-`checksum` callers (like ArgoCD) would be instantly made to work again - any future calls without `checksum` would work, and not choke silently (due to `no_log`)
@voondo I don't think we need to add a new file for this. @tico88612 What do you think? |
argocd_install_checksums: | ||
no_arch: | ||
2.14.5: sha256:247ccda29c9faac4e0c8598680f5ebefff9911e957e3aeaf838eb4bbf455f2f4 |
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 possible, could you wire this up in scripts/components_hash_update ? So that we have a way to automate the hash update (see scripts/get_node_ids.sh to get the graphql ID)
What type of PR is this?
/kind bug
What this PR does / why we need it:
It allows the argocd deployment which was broken.
Which issue(s) this PR fixes:
Fixes #12223
Special notes for your reviewer:
Does this PR introduce a user-facing change?: