-
Notifications
You must be signed in to change notification settings - Fork 257
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
[v0.32.x] Fix processing of stepTemplate volumeMounts #2937
[v0.32.x] Fix processing of stepTemplate volumeMounts #2937
Conversation
The version and rules in the testrunner image have been updated. Resolve the new issues identified.
Google are now serving the key in ascii armored format instead of the previous binary format and as a result has broken the E2E docker image build. To avoid installing additional tools such as gpg, switch to the backup k8s URL which was implemented in response to previous issues with the Google-hosted key being unavailable.
The merge process for display of step details was inadvertently modifying the stepTemplate on each pass so display of volumeMounts in the step details tab could end up showing volumeMounts that are not actually relevant for the selected step. Ensure we make a copy of the items array before processing to avoid modifying the original. Add a new test to ensure we don't regress in future.
62baf5c
to
35afd45
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: briangleeson 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 |
Changes
Cherry-picked #2935
The merge process for display of step details was inadvertently modifying the stepTemplate on each pass so display of volumeMounts in the step details tab could end up showing volumeMounts that are not actually relevant for the selected step.
Ensure we make a copy of the items array before processing to avoid modifying the original.
Add a new test to ensure we don't regress in future.
/kind bug
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes